1. Write a Program to Take input from user Print sum and Average of 5 int Number c program . 
2. write a Program To take input from user print evaluate the equation 5x2 + 2x -10 c program . 

1.
Write a Program to Take input from user Print sum and Average of 5 int Number c program - Program Code. 

/* Write a program to print
   sum and average of 5 int number */
   #include<stdio.h>
   #include<conio.h>
   int main()
   {
int n1,n2,n3,n4,n5,sum;
float avg;
clrscr();
printf("Enter value of n1,n2,n3,n4,n5 : ");
scanf("%d%d%d%d%d",&n1,&n2,&n3,&n4,&n5);
sum = n1+n2+n3+n4+n5;
printf("Sum of this number is %d\n",sum);
avg = sum/5;
printf("Average of 5 int number is %f",avg);
getch();
return 0;
   }

PROGRAM :-

sum and Average of 5 int Number progrma

OUTPUT :-

sum and Average of 5 int Number Program output

sum and Average of 5 int Number program output

Download Program source code 
Download To click here...

2.
write a Program To take input from user print evaluate the equation 5x2 + 2x -10 c program - Program Code. 

/* Write a program to evaluate the equation
   5x2 + 2x - 10 */
   #include<stdio.h>
   #include<conio.h>
   void main()
   {
int x,ans;
clrscr();
printf("Enter the value of x: ");
scanf("%d",&x);
ans = (5*x*x)+(2*x)-10;
printf("Anwer is %d",ans);
getch();
   }

PROGRAM :-



evaluate the equation 5x2 + 2x -10 program
OUTPUT :-

evaluate the equation 5x2 + 2x -10 program output

evaluate the equation 5x2 + 2x -10 Program

Download Program source code
Download To click here...