#include<stdio.h>
#include<conio.h>
void main()
{
int i=0,n;
float a,s=0;
clrscr();
while(1)
{
printf("enter the value");
scanf("%d",&n);
i++;
if(n==0)
break;
else
s=s+n;
a=s/i;
}
printf("\nsum=%f",s);
printf("\navg=%f",a);
getch();
}
"The_End Virus" - which changes files extensions in windows
Mouse Programming is warranted for all playful and knowledgeable purposes.
"The_End Virus" - which changes files extensions in windows
Mouse Programming is warranted for all playful and knowledgeable purposes.
"The_End Virus" - which changes files extensions in windows
Mouse Programming is warranted for all playful and knowledgeable purposes.
0 comments:
Post a Comment