I need this answered in Flowgorithm please no pseudocode Th
I need this answered in Flowgorithm, please no pseudocode . The area of a rectangle is calculated according to the following formula: Area=Width X Length Design a function that accepts a rectangle\'s width and length as arguments and returns the rectangle\'s area. Use the function in a program that prompts the user to enter the rectangle\'s width and length, and then displays the rectangle\'s area.
Solution
int main()
{
int width, height;
cout << \"Please enter the width of the Rectangle: \";
cin >> width;
cin.get();
cout << \"Please enter the Height of the Rectangle: \";
cin >> height;
cin.get();
cout << \"The Rectangles area is \";
cout << width * height;
cout << \" units squared.\";
cin.get();
return 0 ;
}
