-->
Way of C Learning - CPU(2110003)
Facebook
Jasper Roberts
-
Blog
Pages
Home
CPU Syllabus
CPU Theory
CPU Assignments
CPU Experiments
CPU Tutorials
CPU Papers
CPU Books
About Author
Showing posts with label
sum of n numbers(while loop)
.
Show all posts
Showing posts with label
sum of n numbers(while loop)
.
Show all posts
Monday, October 13, 2014
WRITE A C PROGRAM TO CALCULATE SUM OF N NUMBERS.
#include<stdio.h>
#include<conio.h>
void main()
{
int i=1,sum=0,no;
clrscr();
printf(“Enter the number:”);
scanf(“%d”,&no);
while(i<=no)
{
***READ MORE***»
Older Posts
Home
Subscribe to:
Posts (Atom)