Here are the steps to solve the math problems:
1. Declare two integer variables to hold the numbers:
int number1 = 7;
int number2 = 4;
2. Calculate the sum:
int sum = number1 + number2;
3. Calculate the difference:
int difference = number1 - number2;
4. Calculate the quotient:
int quotient = number1 / number2;
5. Calculate the remainder of the division:
int remainder = number1 % number2;
So the results are:
Sum = 11
Difference = 3
Quotient = 1
Remainder = 3