Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

20. Make a program that will input seconds, convert it into minutes and hour. Display the equivalent minutes and hour/s . Your program will be terminated if you input zero in the hour.


Ex. Enter seconds: 120


Minutes = 2 (120 seconds/60)


Equivalent Hour is = 0.033 (120 seconds/ 3,600 seconds in 1 hour)




11. Make a program that will input hour, convert it into minutes and seconds. Display the minutes and seconds respectively. Your program will be terminated if you input zero in the hour.


Ex. Hour = 2


Minutes = 120


Seconds = 7200



12. Make a program that will input Sales, process the Value Added Tax deduction as follows:


Sales VAT


Less than equal =10000.00 10%


Above 10000.00 15 %



Display the taxable amount, Your program will be terminated if you input zero in the sales.



9. The Area of a Rectangle = L * W, where L=length and W=width. Make a program that will input Length and Width, compute and display the Area. Your program will be terminated to have an option to quit processing another entry.





Salary rate/year Tax Percentage deduction



Lesser than 500,000.00 10%



500,000.00 25%



501,000.00 and above 30%




Make a program that will input salary (for one year, Check the salary rate at what range it belongs, process the tax deduction and display the tax amount. Your program will be terminated when you input zero in the salary.



Ex. Salary: 450000.00



Tax deduction amount: 45000.00




19. Make a program that will input Kilogram, convert it into grams and pounds. Display the equivalent Gram/s and Pounds (1 Kg=1000 grams and 1 Kg = 2.2 pounds. Your program will be terminated if you input zero in the kilogram.



18. Make a program that will input type of network provider. A – for Smart and Display “SMART USER, enjoy 8.00 pesos per minute call”. B- for Globe Display “GLOBE USER, enjoy 8.50 per minute call” and C-for Sun Display “SUN USER, enjoy 8.75 per minute call”. Your program will be terminated when you input Z.





17. Make a program that will input Philippine currency (Peso), convert it into Dollar. 1 Dollar= 49.50 pesos, Display the Dollar equivalent. Your program will be terminated if the peso currency = 0.



16. Make a program that will input minutes, convert it into hour. Display the equivalent hour/s . Your program will be terminated if you input zero in the hour.



Ex. Minutes = 120



Equivalent Hour is = 2




15. Make a program that will input two number, If the two number entered are ODD then perform the addition and display the Sum. Your program will be terminated by an option if the user not to proceed another entry.


Ex, No. 1: 5 No. 1: 3


No. 2: 3 No. 2: 2


Sum is : 8 One of the number entered is not ODD



14. Make a program that will input two number, If the two number entered are EVEN then perform the addition and display the Sum. Your program will be terminated by an option if the user not to proceed another entry.


Ex, No. 1: 4 No. 1: 3


No. 2: 2 No. 2: 2


Sum is : 6 One of the number entered is not Even



LATEST TUTORIALS
APPROVED BY CLIENTS