subject

Write a script that will prompt the user for the length and width of a rectangle,
call function perimarea to calculate and return the perimeter and area, and print
the result. for simplicity the function ignores units and error-checking.
hint: write the formulas in the function perimarea first that will calculate
the perimeter and area of a rectangle. decide what would be the input
arguments and what would be the output arguments of the function.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
6. the is particularly susceptible to the effects of alcohol because it receives a large portion of total blood flow and has a high concentration of neurons. a. heart b. pancreas c. brain d. liver
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
How does a policy manual an organization? a. it boost productivity. b. it create awareness in employees about the organization’s values. c. it employees achieve targets. d. it safeguards the organization from liabilities.
Answers: 1
question
Computers and Technology, 22.06.2019 16:00
If a client wants to make minor edits, what should he/she use?
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
1. before plugging in a new device to a computer you should unplug all other devices turn off the computer turn on the computer 2. many of the maintenance tools for a computer can be found in the control panel under administrative tools display personalization
Answers: 1
You know the right answer?
Write a script that will prompt the user for the length and width of a rectangle,
call functio...
Questions