ulvis.paste.net

Paste Search Dynamic
Recent pastes
equals
  1. #include <stdio.h>
  2. int main() {
  3.     printf("3+2 equals %d and 3-2 equals %d and 3*2 equals %d\n", 3+2, 3-2, 3*2);
  4.     printf("3+2*3 equals %d and (3+2)*3 equals %d\n", 3+2*3, (3+2)*3);
  5.     printf("2*8-2*7-4 equals %d\n", 2*8-2*7-4);
  6.     printf("2*(8-2*(7-4)) equals %d\n", 2*(8-2*(7-4)));
  7.     printf("2*(8-2*7)-4 equals %d\n", 2*(8-2*7)-4);
  8.     return 0;
  9. }
  10.  
Parsed in 0.003 seconds