Understanding the programming problem

Aug 25, 2018 at 4:13am
the question goes like this :
modify your c program to perform addition, subtraction and multiplication if the result of the sum of the input number is even and perform division and modulo if the sum the input is odd


If im not wrong the program should be enter a numbers like
Enter first number:
Enter second number:

but I don't understand the problem ?, I need help please
Last edited on Aug 25, 2018 at 4:13am
Aug 25, 2018 at 4:26am
I guess, from what I can understand, what they want from you is the following:

1) Enter two numbers
2) Find the sum of the two numbers
3) If the sum is even, then perform addition, subtraction, and multiplication operations
4) If the sum is odd, then perform division and modulo operations

Topic archived. No new replies allowed.