Created
July 23, 2019 15:52
-
-
Save songritk/2a2b32f2bc708d4474183f0bf9ca8f95 to your computer and use it in GitHub Desktop.
tutor-sum.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main () | |
{ | |
int N=5; | |
int i=1; | |
int sum=0; | |
while( ___ <= ___ ){ | |
sum=sum+___ ; | |
___++; | |
} | |
printf("Arithmetic Sum = %d\n",sum); | |
return(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment