Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int n, ex = 0;
- printf("Enter the number of students: ");
- scanf("%d", &n);
- if (n % 35 != 0)
- ex = 1;
- printf("Number of basses: %d", n / 35 + ex);
- return 0;
- }
Add Comment
Please, Sign In to add comment