Yasmeen has an interesting new job. She is now responsible of validating registrants ages for the CC (orcan Colegiate Pr
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Yasmeen has an interesting new job. She is now responsible of validating registrants ages for the CC (orcan Colegiate Pr
Yasmeen has an interesting new job. She is now responsible of validating registrants ages for the CC (orcan Colegiate Programming Contest) Yasmeen knows that for this year's contest, only people of age between integer x and integer y are allowed to participate Yasmeen is a very busy girt she decided to save herself some time by writing a program that checks it a registrant can participate or not for 5 people using a while loop Input • The single line of input ornare three integers k xand, separated by spaces e age of the registrant, and the intervall which contains the ages allowed to participate for this year ages and are allowed to parncipatel Output • Print Welcome without the quotes in the registrant is allowed to participate, prin Sorry without the quotes ir me are not allowed to participate Input 22 10 20 159.18 Output Sorry Welcome
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!