Ask a New Question
Search
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
Ask a New Question
or
answer this question
.
Similar Questions
I am learning Java in programming right now. I need to write a program that should have an output like this:
The program says
1 answer
1.Write an Assembly program that reads in a number of cents. The program will write out the number of dollars and cents
1 answer
Write a program that would calculate and display the results for the multiplication table for values ranging from 1 to 100. Your
2 answers
Write a program reads the city names and respective gas prices into 2 single-subscripted arrays in your program - one of type
0 answers
more similar questions