answersLogoWhite

0


Best Answer

PRINT "Give me the rectangle's length.": Input L

PRINT "Give me the rectangle's width.": Input W

PRINT "The rectangle's area is "; L x W

PRINT "The rectangle's perimeter is "; 2 x (L + W)

PRINT "You've been a great audience. I'm here til Thursday. Don't forget to tip your waiter. Have a nice day."

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program that prompts the user to input the length and width of a rectangle and then prints the rectangle's area and perimeter?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Turbo c program that prompts user to try again?

puts ("Try again");


How do you rip a CD to your computer?

You need a program that will do the ripping - the latest version of Windows Media Player does it. After that, select "Rip" or "Copy from CD" or something like that and folow the prompts.


How do you open C when it prompts you to choose the program to open it with with in a list?

edit your autorun.inf file, add the line open=C:\windows\explorer.exe good luck Kevin


How do I install engineering software to my computer?

To install engineering, or any other software to your computer, you first need to put the disc it comes on into the disc drive. Then, you should run the installer on the disc and follow the prompts onscreen. If it is a program that you've downloaded, start the .exe file that you downloaded and follow the prompts that it gives you.


What are some prompts for kids poems?

There are many sources of prompts for kids poems on the internet. Poetry4Kids and Scholastic both publish numerous prompts for kids poems on their websites.


Does vibe navigation unit have voice prompts?

yes is does have voice prompts. you have to increase the volume in the setup?


Do you have to stick to essay prompts?

no


Word that begins with the prefix mis and means prompts a kiss?

It doesn't MEAN "prompts a kiss," it DOES prompt a kiss, and it is mistletoe.


What prompts John Thornton and his partners to travel east and leave Dawson?

gold prompts john thorton to leave dawson


How reset Toyota Sienna theft deterrent?

You need a computer program that can type command prompts to ECU. Look on Craig's for an auto locksmith under services that can program chipped keys and has ability to reset PATS and is mobile. It will cost about 100 and takes 5-10 mins.


What does understanding writing prompts mean?

UTOT !!


What prompts Macbeth to kill duncun in macbeth?

i do not no