X695: Simple Remainder in C++

With the variables given to you, calculate the remainder when the variable numerator is divided by the variable denominator and store the result in the variable remainder.

Your Answer:

x
 
1
int remainder()
2
{
3
    int numerator = 395;
4
    int denominator = 13;
5
    int remainder;
6
    // In the space below, complete the necessary code.
7
    
8
    
9
    
10
    // Do not change the code below this
11
    return remainder;
12
}
13

Feedback

Your feedback will appear here when you check your answer.