Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int total = 10, less = 0;
- for (int i = 0, a; i < total; i++) {
- scanf("%d", &a);
- if (a < 50) less++;
- }
- printf("%d %d\n", less, total - less);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement