Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. int zmain (void)
  2. int xTaskGetTickCount()
  3. {
  4. int age;
  5.  
  6. age = 0;
  7.  
  8. printf("Enter your age: ");
  9. scanf("%d", &age);
  10. {
  11. if ((age<=21) && (response time under 3sec))
  12. printf("Super fast dude!");
  13.  
  14. else if ((age<=21) && (response time 3-5sec))
  15. printf("So medicore!");
  16. else if ((age<=21) && (response time over 5))
  17. printf("My granny is faster than you!);
  18. }
  19. {
  20. if ((age<=50) && (response time under 3sec))
  21. printf("Be quick or be dead!");
  22. else if ((age<=50) && (response time 3-5sec))
  23. printf("You're so average")
  24. else if ((age<=50) && (response time over 5sec))
  25. printf("Have you been smoking something illeagal?");
  26. {
  27. if ((age>=50) && (response time under 3sec))
  28. printf("Still going strong");
  29. else if ((age>=50) && (response time 3-5secc))
  30. printf("You are doing ok for your age");
  31. else if ((age>=50) && (response time over 5sec)
  32. printf ("Do they still allow you to drive");
  33. }
  34. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement