Computers and Technology, 05.03.2021 16:40 swilks
14
The area of a circle is calculated using the formula ni x 12 where it is equal to 3.142 and r is the
radius.
A program is written to allow a user to enter the radius of a circle as a whole number between
1 and 30, then calculate and output the area of the circle.
01 radius = 0
02 area = 0.0
03 radius = input("Enter radius")
04 if radius <1 OR radius > 30 then
05 print("Sorry, that radius is invalid")
06 else
07 area = 3.142* (radius ^2)
08 print (area
09 endir
(a) Explain, using examples from the program, two ways to improve the maintainability of the
program. De
(4 Points)
Answers: 3
Computers and Technology, 21.06.2019 14:10
In a flashdisk wich icon can you use to open files in computer
Answers: 1
Computers and Technology, 22.06.2019 07:00
Our primary purpouse as electricians is to do wich of the following core concepts? a: install electrical components in a way they can be upgraded b: install electrical equiptment in a way that reduces heat c: install electrical systems in a safe manner d: only b and c
Answers: 1
Computers and Technology, 22.06.2019 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
Computers and Technology, 22.06.2019 12:00
Which of the following âinvisibleâ marks represents an inserted tab?
Answers: 1
14
The area of a circle is calculated using the formula ni x 12 where it is equal to 3.142 and r is...
Mathematics, 13.02.2021 01:10
Mathematics, 13.02.2021 01:10
Mathematics, 13.02.2021 01:10
Mathematics, 13.02.2021 01:10
Social Studies, 13.02.2021 01:10
Mathematics, 13.02.2021 01:10
Biology, 13.02.2021 01:10