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 %

匿名用户 最后更新于 2021-11-29 17:10 计算机类Computing

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\n", res); 8 9 res=c+a/b+2+(c+a)/(6+1); 10 printf("%d\n", res); } 11

已邀请: