// Pantea Aria // arithmetic operators // Write a program that declares two integers num1 and num2, // assigns them values, and then prints the result of: // add, subtract, product, divide, remainder #include int main(void) { printf ("Enter two numbers in integer:"); int num1, num2; scanf ("%d %d", &num1, &num2); printf ("add result is %d\n", num1 + num2); printf ("subtract result is %d\n", num1 - num2); printf ("product result is %d\n", num1 * num2); printf ("divide result is %d\n", num1 / num2); printf ("remainder result is %d\n", num1 % num2); return 0; }