Question: Write complete Java programs for all the problems and compile and run and make sure that the program works correctly. 1. Write a program that

 Write complete Java programs for all the problems and compile and

Write complete Java programs for all the problems and compile and run and make sure that the program works correctly. 1. Write a program that reads in a code (C for circumference and A for area) and the radius ofa circular pool, computes and displays the circumference or the area depending on the code entered. Use a switch statement for the selection. If the user enters any other character (other than C or A), the program should display that it is an invalid choice. (Formulas: Area IIr2, Circumference 2Tr, where -3.14159, and r is the radius). 2. A bank charges a base fee of $10 per month, plus the following check fees for a commercial checking account: $0.10 each for less than 20 checks $0.08 each for 20-39 checks $0.05 each for 40-59 checks $0.04 each for 60 or more checks Write a program that requests the number of checks the bank's service charges for the month

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!