subject

Make variables to represent the length and width of a rectangle, called length and width, respectively. You should set length to 10 and width to 5. Then, write some mathematical expressions to compute the area and perimeter of the rectangle and save these values inside variables named area and perimeter. Use print statements to display the area and perimeter of the rectangle. Your output should print the area on the first line and the perimeter on the second, like this: 50 30

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:00
Which task uses a simple parameter?
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
question
Computers and Technology, 24.06.2019 09:50
Self contained sequences of actions to be performed are? a. expressions b. algorithms c. functions d. formulas
Answers: 1
You know the right answer?
Make variables to represent the length and width of a rectangle, called length and width, respective...
Questions