Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int mark;
- int count = 1 ;
- int total = 0 ;
- while(count < 101)
- {
- scanf("%d", &mark);
- total += mark;
- count++;
- }
- printf("%d", total);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement