Science, asked by batm0218, 11 months ago

Write a program on javascript that reads the name and age of

three people and prints the name of the oldest person.


An example of a possible program execution is shown

below where the underlined values correspond to the data entered by the user.

Enter name : Sandy Rock

Enter first age: 30

Enter el second name : Rocky Hill

Ener second age: 35

Enter third name: Melody Accord

Enter third age: 20

Answers

Answered by yashsinha3107
0

Answer:

35 is the right answer

Similar questions