You have two siblings, Josh and Cindy, and you want to find the average of your three ages. Write a program that takes your ages as integer values from standard input and stores them in the variables josh, cindy, and me, then prints the average of the three numbers to standard output.

Respuesta :

Answer:

josh=int(input())

cindy=int(input())

me=int(input())

average_age=(josh+cindy+me)/3 print(average_age)

Explanation:

Oseni

The program can be written using python codes.

Average age

josh=int(input())

#Asks for the age of Josh

cindy=int(input())

#Asks for the age of Cindy

me=int(input())

#Asks for my age

average_age=(josh+cindy+me)/3

#Creates a variable that stores the average of the 3 of us

print(average_age)

#Displays the average age on the screen.

More on python codes can be found here: https://brainly.com/question/13246781

#SPJ9

ACCESS MORE
EDU ACCESS
Universidad de Mexico