1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #include <stdio.h> int main(void) { int a = 10; int b = 20; int c = 30; int d = 3; int result; result = a + b * c / d; printf("¿¬»ê°ª: %d\n", result); result = (a + b) * c / d; printf("¿¬»ê°ª: %d\n", result); result = a = b = 1; printf("¿¬»ê°ª: %d\n", result); return 0; } | cs |