#include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
x = x + ++y % x;
y = --x / y + x * y;
cout<< "x= " << x << endl;
cout << "y= " << y << endl;
return 0;
}
let the inputs be x=6 and y=8
How is x = 8 and not 9 and how is y=72 not 73
How I calculated it:
x=6+ 9mod(6)=9
y=((9-1)/8)+9*8=73
what did I do wrong here ??