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
What is c system32 taskhostw exe?
What is volatile variable in c?
How can I change the size of the dynamically allocated array?
how to make a scientific calculater ?
Write a program that accept anumber in words
Explain the difference between structs and unions in c?
Can you please explain the scope of static variables?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What extern c means?
What is union in c?
What is the size of array float a(10)?
What functions are used in dynamic memory allocation in c?
What are the properties of union in c?
What is property type c?
What are pointers really good for, anyway?