![sethlynn2003](/avatars/18465.jpg)
sethlynn2003
31.01.2021 •
Computers and Technology
You can calculate the surface area of a cube if you know the length of an edge. Write a program that takes the length of an edge (an integer) as input and prints the cube's surface area as output. Enter the cube's edge:4. The surface area is 96 square units.
Solved
Show answers
More tips
- G Goods and services Stock center - a modern way of optimizing logistics...
- F Food and Cooking How to Properly Wash a Down Jacket? Tips from Experts...
- C Computers and Internet Thin Client: What It Is and Why You Need It?...
- F Food and Cooking The Most Delicious and Simple Fish in Batter Recipe...
- F Food and Cooking Red Caviar: How to Choose the Best?...
- C Computers and Internet Clearing Cache: How to Speed Up Your Browser...
- S Style and Beauty How are artificial nails removed?...
- S Style and Beauty Secrets of Tying a Pareo: 5 Ways...
- F Food and Cooking Everything You Need to Know About Pasta...
Answers on questions: Computers and Technology
- C Computers and Technology Invalid length parameter passed to the left or substring function (below) . how can this be handled? left(u.fullname,charindex( , , u.fullname)- 1) aa, charindex(left(u.fullname,charindex(...
- C Computers and Technology You are responsible for performing routine maintenance on your company s laser printers. which of the following routine maintenance does not require that you disconnect...
- W World Languages Select the sentence which is correctly capitalized. God, in His goodness, has given us all that we need to know Him. God, in his goodness, has given us all that...
- H History Social reformer that attempted to create a utopian society in New Lanark,Scotland and New Harmony,Indiana...
- H History You plan to settle in the the Northwest Territory. List ten items you will take with you and explain why you chose theitems you did....
- C Chemistry Assuming 100% dissociation, calculate the freezing point and boiling point (in °C) of a solution with 83.6 g of AgNO 3 in 1.00 kg of water....
- M Mathematics Do you is building a cabinet based on the design he knows the bass must have an area of 2/3 yd.² squared if Steve decide to make the height of the cabinet 4/5 of...
- E English Why did Branch Rickey, president of the Dodgers, most likely choose to sign Jackie Robinson? Give at least two details from the text to support your answer....
- E English PART A: Which TWO of the following statements best reflect the central ideas of the text? A Trujillo was a strong and effective leader, but he spent too much time...
- H History The region of Kashmir, indicated on the map in white, is an area of (5 points) Group of answer choices religious and political dispute between Pakistan and India...
Ответ:
Program in Python:
edge = float(input("Edge Length: "))
area = 6 * edge**2
print("Surface Area: "+str(area))
Explanation:
This line prompts the user for the length of the edge
edge = float(input("Edge Length: "))
This calculates the surface area using![Area = 6a^2](/tpl/images/1080/7502/ce656.png)
area = 6 * edge**2
This prints the calculated surface area
print("Surface Area: "+str(area))
This solution was implemented in Python
Ответ: