PROBLEM DESCRIPTION
Allow the user to enter a sequence of temperatures in degrees Celsius (C) terminated by
-999. For each one, find the corresponding temperature in degrees Fahrenheit (F). Use the formula F=9*C/5+32.
INPUT AND OUTPUT REQUIREMENTS: Use SHIFT/PRINT SCREEN buttons
Your Name
A TEMPERATURE CONVERSION PROGRAM
When you enter a temperature in degrees Celsius, the computer will print the corresponding Fahrenheit temperature. Enter -999 to terminate the program.
Celsius temperature? 50
Fahrenheit temperature 122.0
Celsius temperature? 32
Fahrenheit temperature 89.6
Celsius temperature? -999
and
PROBLEM DESCRIPTION
Compute the federal income tax due on a taxable income input by the user according to the following table: (enter 0 to end program)
____________________________________
TAXABLE INCOME
____________________________________
From Thru Tax Due
___________________________________________
0 17,850 15%
17,851 43,150 28%
43,151 89,560 33%
89,561 ... 38%
____________________________________
INPUT AND OUTPUT REQUIREMENTS: Use SHIFT/PRINT SCREEN buttons
Your Name
Enter your taxable income? 15300
Your federal income tax will be $2,295
Enter your taxable income? 40200
Your federal income tax will be $11,256
Enter your taxable income? 75500
Your federal income tax will be $24,915
Enter your taxable income? 90350
Your federal income tax will be $34,333
Enter your taxable income? 0
End of program