Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int zmain (void)
- int xTaskGetTickCount()
- {
- int age;
- age = 0;
- printf("Enter your age: ");
- scanf("%d", &age);
- {
- if ((age<=21) && (response time under 3sec))
- printf("Super fast dude!");
- else if ((age<=21) && (response time 3-5sec))
- printf("So medicore!");
- else if ((age<=21) && (response time over 5))
- printf("My granny is faster than you!);
- }
- {
- if ((age<=50) && (response time under 3sec))
- printf("Be quick or be dead!");
- else if ((age<=50) && (response time 3-5sec))
- printf("You're so average")
- else if ((age<=50) && (response time over 5sec))
- printf("Have you been smoking something illeagal?");
- {
- if ((age>=50) && (response time under 3sec))
- printf("Still going strong");
- else if ((age>=50) && (response time 3-5secc))
- printf("You are doing ok for your age");
- else if ((age>=50) && (response time over 5sec)
- printf ("Do they still allow you to drive");
- }
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement