Guest User

test2.c

a guest
Aug 25th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.    
  6.     int x = 5;
  7.     int y = 6;
  8.     int z = 7;
  9.    
  10.     int answer = 0;
  11.  
  12.     answer = (x * y) + 5;
  13.     answer = answer / z;
  14.  
  15.     printf("Result = %i", answer);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment