Question: Write a program which asks the user to enter the width and height of a rectangle. Pass these values to a function Area to compute
Write a program which asks the user to enter the width and height of a rectangle. Pass these values to a function ‘Area’ to compute the area of the rectangle. Display the area in the function main.
Step by Step Solution
3.41 Rating (160 Votes )
There are 3 Steps involved in it
Solution Code and output int area int wid... View full answer
Get step-by-step solutions from verified subject matter experts
