Answer Posted / deepshree sinha
#include<stdio.h>
#include,conio.h>
void main()
{
int i,a[6],s=0;
printf("enter the values");
for(i=0;i<5;i++)
{
scanf("%d ",7a[i]);
s=s+a[i];
}
printf("sum of five digits=%d',s);
getch();
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is flag a keyword in c?
What is boolean in c?
What is a program flowchart?
What is c method?
What is the size of enum in bytes?
What does typedef struct mean?
Is c easier than java?
What is bss in c?
What is pass by reference in functions?
Is main is user defined function?
What does c mean before a date?
write a program to concatenation the string using switch case?
What are the types of c language?
How pointers are declared?
What does. int *x[](); means ?