0

Full fill the codes below plz

#include <stdio.h> int main() { int a = 6; int b = 4; int c = 2; int result; result = a - b + c; // 4 result = a + b / c; // 8 result = (a + b) / c; // 5 return 0; }

4th Feb 2019, 5:40 AM
Anas Al Rahiq
5 ответов
4th Feb 2019, 6:58 AM
Lambda_Driver
Lambda_Driver - avatar
+ 2
Where is the fill up? There is no printf to print the result. You can use printf("%d",result); Above return 0;
4th Feb 2019, 5:54 AM
Sachin Artani
Sachin Artani - avatar
+ 1
Yes... thanks a lot
4th Feb 2019, 6:59 AM
Anas Al Rahiq
0
I have done it.. bt the result shows only 5
4th Feb 2019, 6:37 AM
Anas Al Rahiq
0
Complete the codes for me plz
4th Feb 2019, 6:47 AM
Anas Al Rahiq