Advertisement
Guest User

loop

a guest
Jun 26th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include<stduo.h>
  2.  
  3. int main()
  4.  
  5. {
  6.    
  7.     int i,n,sum=0;
  8.    
  9.     for(i=1; i<=n; i++){
  10.        
  11.         sum+=;
  12.        
  13.     }
  14.     printf("%d\n",sum);
  15.    
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement