17 Feb Create a program that will compute: First submit the psuedo code and desk check Second submit .cpp file, the code You may re
Create a program that will compute:
First submit the psuedo code and desk check
Second submit .cpp file, the code
You may resubmit you code if you had to fixe your code to pass the test cases.
- The area and circumference of a circle. Prompt the user to enter the radius. Use 3.14159 for pi.
- The area and the perimeter of a rectangle. Prompt the user to enter the length and the width.
- Use the plan you created last week. If need be revise your pseudocode and algorithm to match expect output and Mimir test cases.
- Once again desk check your pseudocode and algorithm.
- Do not allow for invalid input.
- Allow for positive values only.
- Format to 3 decimal places
- Name file main.cpp
- To Mimir submit: .cpp file
- Submit your pseudocode and desk check along with your code to Mimir in a separate file
- Pseudocode and desk check should be in the format of a pdf, picture, or notepad.
- Include your name, date at the top of the code as a comment.
- Restate project assignment question as a comment
- Include detailed comments throughout your code
starter.cpp
starter.cpp
"Geometry Calculatornn" ;
"Select a figure" << endl ;
"1. Circlen" ;
"2. Rectanglen" ;
"3. Quitnn" ;
"Enter your choice (1-3): " ;
"The valid choices are 1 through 3. Run then"
<< "program again.n" ;
"nEnter the circle's radius: " ;
"nThe radius must be greater than zero.n" ;
"Enter 1 for area or 2 for circumference: " ;
"nThe area is " << your code << endl ;
}
"Circumference" << endl ;
"nThe circumference is " << your code << endl ;
"Invalid selection" << endl ;
"nEnter the rectangle's length: " ;
"Enter the rectangle's width: " ;
"nOnly enter positive values for " << "length and width.n" ;
"Enter 1 for area or 2 for perimeter" << endl ;
"Area" << endl ;
"nThe area is " << your code << endl ;
"Perimeter" << endl ;
"nThe perimeter is " << your code << endl ;
"Invalid selection" << endl ;
"Program ending.n" ;
"The valid choices are 1 through 3. Run then" << "program.n" ;
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.