aiNayan

3

Feb 17th, 2021 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int n, ex = 0;
  5. printf("Enter the number of students: ");
  6. scanf("%d", &n);
  7. if (n % 35 != 0)
  8. ex = 1;
  9. printf("Number of basses: %d", n / 35 + ex);
  10. return 0;
  11. }
Add Comment
Please, Sign In to add comment