please help. Can solve any of them
Attachments:
Anonymous286:
how many?
Answers
Answered by
1
this is answer of 4 .
#include <stdio.h>
int main()
{
int a,b,c,sum;
float avg;
printf("Enter first number :");
scanf("%d",&a);
printf("Enter second number :");
scanf("%d",&b);
printf("Enter second number :");
scanf("%d",&c);
sum=a+b+c;
avg= (float)(a+b+c)/3;
printf("\nSum of %d and %d is = %d",a,b,c,sum);
printf("\nAverage of %d and %d is = %f",a,b,c,avg);
return 0;
}
Answered by
1
2nd image is the continuation of first btw
U can use /n if u want the output on separate lines
Hope it helps....
:)
U can use /n if u want the output on separate lines
Hope it helps....
:)
Attachments:
Similar questions
Sociology,
7 months ago
Math,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Biology,
1 year ago