Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //https://www.facebook.com/AminproPastebin
- #include <stdio.h>
- int main(void)
- {
- int counter;
- int sum=0;
- for(counter =1; counter <=50; counter++ ) {
- sum = sum +counter;
- printf("%d", sum);
- }
- getchar();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement