Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

write a short program to find the oldest person between you and one other individual.

OpenStudy (anonymous):

i hate programming, why i picked it i don't know?

OpenStudy (anonymous):

So you inputs... your age and the other's age? Then return max(your age, other's age) I would imagine that's a straight forward approach!

OpenStudy (anonymous):

thanks for your help but i did not understand a thing you said. i just dont understand this whole programming thing

OpenStudy (anonymous):

so you don't know what an input is?

OpenStudy (anonymous):

i do, please explain.

OpenStudy (anonymous):

you have a function with two inputs input1 = your age input2 = other's age using the max function you can get which age is bigger. if you don't want to use that, then you can have an if/else structure. does that help at all?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!