Computers and Technology

The Amazing Area/Perimeter/Circumference Program: Write a program that will loop through the following menu items, until the user chooses option G. [A] Area of a circle.
[B] Circumference of a circle.
[C] Area of a square.
[D] Perimeter of a square.
[E] Area of a rectangle.
[F] Perimeter of a rectangle.
[G] Stop the program.

Depending on the option chosen, prompt for the necessary information. (Ex. Area of circle, you will need to prompt for the radius.) After asking the appropriate question in the main part of the program, then calculate the appropriate answer from a method depending on which option is chosen (A - F). Make sure the output is very clear (ex. "Area of Circle with radius is "). Program should continue to offer menu items until G is selected. This program will have 6 methods.

Can someone please help, Btw this is in java programing language

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 07:30, cireland
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits. now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order. finally, output thedigits in thearray. use at least two functions to organize your program.
Answers: 3
image
Computers and Technology, 23.06.2019 21:10, jmolina57
Asample of 200 rom computer chips was selected on each of 30 consecutive days, and the number of nonconforming chips on each day was as follows: 8, 19, 27, 17, 38, 18, 4, 27, 9, 22, 30, 17, 14, 23, 15, 14, 12, 20, 13, 18, 14, 20, 9, 27, 30, 13, 10, 19, 12, 26. construct a p chart and examine it for any out-of-control points. (round your answers to four decimal places.)
Answers: 2
image
Computers and Technology, 23.06.2019 22:30, keel5468
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
image
Computers and Technology, 24.06.2019 11:00, asiaosterling
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
Do you know the correct answer?
The Amazing Area/Perimeter/Circumference Program: Write a program that will loop through the followi...

Questions in other subjects:

Konu
Health, 05.06.2021 09:00
Konu
Mathematics, 05.06.2021 09:10