Question: Using C++ CS 317 Rectangle You are to write a program to handle a Rectangle. You wl write the following functions: getASide prompt user for
CS 317 Rectangle You are to write a program to handle a Rectangle. You wl write the following functions: getASide prompt user for the rectangle's length or width. This function read ONE value and getArea function accepts as parameters the length and width and returns area. returns the value through the function name. Displaydata function to accept length, width and area and prints results with labels Test your program with the following input. Have your program to run once for all the data, loop to read, process, and write results. Sentinel value 0 0. Input Data: 4 8 00 300 245 877 17 54 48 123
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
