This is comment for paste
Summation of series
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Author Name: M.A. Yousuf Sir
- * Call: +880 191 55 84 839 (8.00 am to 10.00 pm GMT+6 )
- * Summation Of Series: 1+3+5+.......+30
- */
- #include<stdio.h>
- #include<conio.h>
- main(){
- int a,s;
- a=1;
- s=0;
- while(a<=30){
- s = s+a;
- a+=2;
- }
- printf("sum=%d",s);
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment