Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5. Write a complete program that makes the system interactively obtain the number of hours a person worked during a two week period and
5. Write a complete program that makes the system interactively obtain the number of hours a person worked during a two week period and computes and prints the wages using the pay rate of $12 per hour, income tax at 15% rate, and the net salary after taking the tax off. 6. Write a program to have the system obtain the number of nickels, number of dimes and the number of quarters found in a piggy bank and writes altogether how many coins were in the piggy bank, and what the total dollar value of the coins is on the screen. 7. Write a program to have the system obtain three floating point values, store them in the names a, b, and c and then compute the expression b-4ac and write it on the screen. 8. Write a program that makes the system interactively obtain double type values for x 3x2 + 2xy + y2 and y from the user, compute the expression and print the answer on the 3xy screen. 60 9. Write a program to have the system obtain the radius of a sphere and to write the volume of the sphere on the screen. (Volume of a sphere is (4/3)r'.) 10. Write a program to have the system obtain the radius of the base and the height of a cylinder and compute and print its volume. (Volume of a cylinder is ar'h, where h is the height.)
Step by Step Solution
★★★★★
3.39 Rating (149 Votes )
There are 3 Steps involved in it
Step: 1
Sure here are programs in Python for each of the tasks youve mentioned 5 Calculate wages after tax python Obtain the number of hours worked hoursworke...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started