Question: write c codes 8. The following program reads three numbers and computes two mathematical expressions using them. Write the output of the program. (10 p)

 write c codes 8. The following program reads three numbers and

write c codes

8. The following program reads three numbers and computes two mathematical expressions using them. Write the output of the program. (10 p) The values entered for a, b, and c are: a=2 b=3 c=4 1 #include 2 void main() 3 { int a,b,c, res; 5 scanf("%d %d %d",&a,&b,&c); res= (a+b+2)/ bc; 7. printf("%d ", res); 8 9 res=c+a/b+2+(c+a)/(6+1); 10 printf("%d ", res); } 11

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!