To add four numbers(24,78,12,90) and display the result.
Answers
Answered by
0
Answer:
24+78+12+90
=204............…
Answered by
0
Answer:
This Program is in python
# This program adds two numbers
num1 = 24
num2 = 78
num3 = 12
num4 = 90
# Add four numbers
sum = float(num1) + float(num2) + float(num3) + float(num4)
# Display the sum
print('The sum of {0} and {1} is {2}'.format(num1, num2, num3, num4, sum))
Result :
The sum of 24 , 78 , 12 and 90 is 204
Hope it helps you
Similar questions