#include <stdio.h>
int main(void) {
// Ask the user to enter his/her name
char name[10];
// Ask the user to enter his/her age
int age;
if (age <= 20) {
printf("You're a youngster!"); }
// If the user is over 20, but under 61, display the name and age, and tell the user he/she is an adult.
if (age < 20 ) {
}
if (age > 61) {
}
// If the user is over 60, display the name and age, and tell the user he/she is getting on in years.
if (age > 60 ) {
printf("You're getting on in years!"); }
else {
printf("Sorry! There is no way to determine how old you are! \n"); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgoJCi8vIEFzayB0aGUgdXNlciB0byBlbnRlciBoaXMvaGVyIG5hbWUKY2hhciBuYW1lWzEwXTsKcHJpbnRmKCJFbnRlciB5b3VyIG5hbWU6ICIpOwpmZ2V0cyhuYW1lLCAxMCwgc3RkaW4pOwpwcmludGYoIkhlbGxvICVzISBcbiIsIG5hbWUpOwoKLy8gQXNrIHRoZSB1c2VyIHRvIGVudGVyIGhpcy9oZXIgYWdlCmludCBhZ2U7CnByaW50ZigiRW50ZXIgeW91ciBhZ2U6ICIpOwpzY2FuZigiJWQiLCAmYWdlKTsKcHJpbnRmKCJZb3UgYXJlICVkIFxuIiwgYWdlKTsKCmlmIChhZ2UgPD0gMjApIHsKCXByaW50ZigiWW91J3JlIGEgeW91bmdzdGVyISIpOwp9CgovLyBJZiB0aGUgdXNlciBpcyBvdmVyIDIwLCBidXQgdW5kZXIgNjEsIGRpc3BsYXkgdGhlIG5hbWUgYW5kIGFnZSwgYW5kIHRlbGwgdGhlIHVzZXIgaGUvc2hlIGlzIGFuIGFkdWx0LgppZiAoYWdlIDwgMjAgKSB7CglwcmludGYoIllvdSdyZSBhbiBhZHVsdCEiKTsKfQppZiAoYWdlID4gNjEpIHsKCXByaW50ZigiWW91J3JlIGFuIGFkdWx0ISIpOwp9CgovLyBJZiB0aGUgdXNlciBpcyBvdmVyIDYwLCBkaXNwbGF5IHRoZSBuYW1lIGFuZCBhZ2UsIGFuZCB0ZWxsIHRoZSB1c2VyIGhlL3NoZSBpcyBnZXR0aW5nIG9uIGluIHllYXJzLiAKaWYgKGFnZSA+IDYwICkgewoJcHJpbnRmKCJZb3UncmUgZ2V0dGluZyBvbiBpbiB5ZWFycyEiKTsKfQoKIGVsc2UgewogICAgIHByaW50ZigiU29ycnkhIFRoZXJlIGlzIG5vIHdheSB0byBkZXRlcm1pbmUgaG93IG9sZCB5b3UgYXJlISBcbiIpOwp9CgpyZXR1cm4gMDsKfQ==
TmFtZTogTWFyawpBZ2U6IDE4CkJlY2F1c2UgTWFyaydzIGFnZSBpcyB1bmRlciAyMCwgaGUgd2lsbCB2aWV3IGFuIG91dHB1dCBzdGF0aW5nICZxdW90O1lvdSdyZSBhIHlvdW5nc3Rlci4mcXVvdDs=
Name: Mark
Age: 18
Because Mark's age is under 20, he will view an output stating "You're a youngster."