Question: Languag C Copy the code into the space provided below and correct errors. #include stdio.h> int main() { float a,B,c, Avg Int total; printf(Enter three
Languag C
Copy the code into the space provided below and correct errors.
#include stdio.h>
int main()
{
float a,B,c, Avg
Int total;
printf("Enter three integer values ");
scanf("%d %d %d", &a, &b, &c)
total a+b+c
avg = a+b+c /3
print("Average is %f" Avg);
return 0;
};
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
