00001 #include <stdio.h> 00002 00003 int main() 00004 { 00005 int x=14, y=27; 00006 printf("x = %d\n",x); 00007 printf("y = %d\n",y); 00008 printf("x + y = %d\n", x + y); 00009 printf("x - y = %d\n", x - y); 00010 printf("x * y = %d\n", x * y); 00011 printf("x / y = %d\n", x / y); 00012 printf("x %% y = %d\n", x % y); 00013 printf("y %% x = %d\n", y % x); 00014 return 0; 00015 }