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
run and make sure that the program works correctly 1. Write a
program that reads in a code (C for circumference and A for

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 of a 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 =Ir, Circumference = 211r, where = 3.14159, and r is the radius). 2. Monthly income of a salesperson is calculated according to the following commission table: Income $400 plus 10% of sales S350 plus S%ofsales Monthly Sales Greater than or equal to S50,000 Less than$50,000, but greater than or equal to $40,000 Less than S40.000, but greater than or equal to $30,000 ! 5300 plus 6% of sales

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!