Advertisement
kamandos

HomeWork

Jul 10th, 2022
952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.52 KB | None | 0 0
  1.  
  2. #include<stdio.h>
  3. #include<conio.h>
  4. int main()
  5. {
  6. int num1, num2, num3;
  7. printf("Enter power value: ");  
  8. scanf("%d",&num1);
  9. printf("Enter Endurance value: ");  
  10. scanf("%d",&num2);
  11. printf("Enter Tone value: ");  
  12. scanf("%d",&num3);
  13. if(num1 ==num2 ==num3)
  14. {
  15. printf("capable and 6 repeats!");
  16. }
  17. else if(num1 > num2 > num3)
  18. {
  19. printf("Do the exercises with a small weight of 5-10 kg and 20 repeats!");
  20. }
  21. else
  22. {
  23. printf("Do the exercises with a moderate weight up to 20 kg and 15 repetitions!");
  24. }
  25. return 0;
  26. }
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement