Questions LLC
Login
or
Sign Up
Ask a New Question
Computer Science
Programming
Data Processing
Write a program that reads in two people‘s age and then names, and then output who is older.
1 answer
read a1,n1
read a2,n2
print (a1>a2) ? n1 : n2
You can
ask a new question
or
answer this question
.
Related Questions
Question: Write a program that reads integers from the keyboard until the user enters the sentinel value -999. The program
Write a program to read the names and age of 10 people and print the name of the oldest person.assume that there are no person
You would like to create a practical program that will randomly select student names from a list for your instructor to be able
write a program to compute the average age of N students
I need your help to write a program using visual basic 2010 for the following:-
write a program that calculates the average of up
I am learning Java in programming right now. I need to write a program that should have an output like this:
The program says
Write a C++ program to read the names and ages of 10 people and print the name and age of the oldest person. Assume that there
1.Write an Assembly program that reads in a number of cents. The program will write out the number of dollars and cents
Write a program that would calculate and display the results for the multiplication table for values ranging from 1 to 100. Your
okay i have a table it reads.
It has 4 colums Title population of Europe by age groups (population is in thousands) First colum