You have been hired by an amusement park company to write a JAVA program that
prompts a person to enter their age and height and to find out if they are eligible to ride.
A person is eligible to ride if their age is above 9 years and their height is greater than
120 cm, i.e., both conditions must be satisfied for a person to ride?

Please don't ask us to do your homework for you. Make an effort to solve the problem. Post the code here. And we may choose to help you sort out your errors... :-(

Jan.sehona.1

both conditions must be satisfied for a person to ride?

yes, both must be satisfied, otherwise they wouldn't have used the word 'and'.

to write a JAVA program that <> to write a Java program that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.