subject

Create a menu-driven program that calculates the area of a few, basic geometric shapes. The program begins by displaying the menu to the user. The user has four choices to select from: 1. Calculate the area of a circle.
2. Calculate the area of a rectangle.
3. Calculate the area of a triangle
4. Exit the program

After displaying the menu, the program gets the user's choice and performs the desired action. The program then starts over at the menu, allowing the user to choose again. The program stops when the user finally enters option 4.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:10
This program reads a file called 'test.txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string.punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test.txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
question
Computers and Technology, 22.06.2019 08:30
1.the index finger on your right hand types the f r v 4 j u m 7 h y 6 n lo.9 j u 7 m g t 5 b 2.if you need to multiply 400, 2, and 1 ½, what would you type on the numeric keypad? 400*2*1.5 400/2*1.5 400/2/1.5 400*2*1½ 3.select all examples of proper keyboarding technique. rest your fingers gently on the home row or home keys. slouch in your chair. rest your palms on the keyboard. relax your fingers. keep your hands lower than your elbows.
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
You know the right answer?
Create a menu-driven program that calculates the area of a few, basic geometric shapes. The program...
Questions
question
Mathematics, 03.02.2021 23:30
question
Mathematics, 03.02.2021 23:30
question
Mathematics, 03.02.2021 23:30
question
Mathematics, 03.02.2021 23:30
question
Mathematics, 03.02.2021 23:30
question
Computers and Technology, 03.02.2021 23:30
question
Spanish, 03.02.2021 23:30
question
English, 03.02.2021 23:30
Questions on the website: 13722360