The program prompts the user to input a length and width, passes those values to an area calculation function that multiplies length by width, returns the area result, and displays the calculated area.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
352 views
Assignment 3
The program prompts the user to input a length and width, passes those values to an area calculation function that multiplies length by width, returns the area result, and displays the calculated area.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
START
Display message for user input for length
Read length Display message for user input for width Read width Call areacalc (length, width) area = length * width Return area Display message showing area END
START Display message prompting user input for length