Write a program that takes three numbers and prints their sum. Every
number is given on a separate line.

Answers

Answer 1

Answer:

This solution is implemented in python

num1 = float(input("Number 1: "))

num2 = float(input("Number 2: "))

num3 = float(input("Number 2: "))

print("Sum: "+str(num1+num2+num3))

Explanation:

This line prompts the user for the first number

num1 = float(input("Number 1: "))

This line prompts the user for the second number

num2 = float(input("Number 2: "))

This line prompts the user for the third number

num3 = float(input("Number 2: "))

This calculates and prints the sum

print("Sum: "+str(num1+num2+num3))


Related Questions

Help me please I’m begging u

Answers

Answer:

mme

Explanation:

Other Questions
what was found at the heart of most colonial towns Sketch a graph that shows therelationship between grams of honey andgrams of salt needed for a bakery recipe.Show on the graph how much honey isneeded for 70 grams of salt.salthoneyflour(c)101442535101 Add file What is the value of x?Enter your answer in the box.6 cm5cm48 cm3x + 7x = Given the figure below , find the values of x and z . I have 2 dice. If I roll both dice, what is the probability of rolling a 5 and then an even number Un carro utiliza 8 litros de gasolina para recorrer 96 kilmetros.Cuantos kilmetros recorre con 35 litros? anyone knows the answer ? What was the first permanent European settlement in what is now the United States?A. Santa FeB. St. AugustineC. San Diego HEY CAN ANYONE PLS ANSWER THESE IN UR OWN WORDS!!! Please help meA _____ is damage to DNA that causes a cell to function abnormally. tumor mutation cancer disease One number is 7 more than twice another tumber. The sum of the numbers is 22. What isone of the numbers? 12/ A kitten is _______ than a puppy.A- cuterB- more cuterC- most cuterD- cute13/ This is the ______ book in the store.A- worseB- most badC- baddestD- worst14/ A cat is _________ than a lion.A- weakerB- weakestC- more weakD- more weaker15/ That was the __________ exam I had all semester.A- more difficultB- difficultestC- most difficultD- most difficultest16/ Some sports are ________ than others.A- more exciteB- most excitingC- more excitingD- excitinger17/ Water is _______ than Soda.A- healthierB- more healthierC- most healthyD- healthiest Which is a solution to the deforestation problem in the AmazonRainforest? *OCleaner burning fuelsstrict emissions on carshave large protected areas of land in the forestOpublic transportation What is it called when a wave passes through different mediums and the wave bends?rarefactiondiversionrefractionreflection Which ghost is weighed down by greed?a. The Ghost of Christmas Pastb. The Ghost of Christmas Presentc. Jacob Marley Marley makes it clear that if Scrooge shows more kindness, he (Marley) will be spared additional suffering. *True or False 26 cm10 cm24 cmIs it a right triangle did the u.s pursue the policy of isolation during the cold war please someone help!! Solve the equation below for x.0.5(x + 7) + 9 = 43