Question: 1. Develop a C++ program that prompts the user to enter a length and a with of a rectangle. The program calculates the area, perimeter
1. Develop a C++ program that prompts the user to enter a length and a with of a rectangle. The program calculates the area, perimeter of the rectangle and displays the area and perimeter. This program must use the following functions, getInput - to get input value of length and width calcAreaPermieter - calculate the area and perimeter of the rectangle display - display the area and perimeter of the rectangle 2. Develop a C++ program that prompts the user to enter two numbers. The program calculates the sum and difference of these two numbers and displays the sum and difference. This program must use the following functions. getInput -to get the input value of number 1 and number2 calcSumDiff - calcualte the sum and difference of these two numbers. display - display the sum and difference of these two numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
