x = 8 + 2 * 5x = 8 + 10x = 18
y = (x mod 10) + 14y = (18 mod 10) + 14y = 8 + 14y = 22
x = (y div 10) + 3x = (22 div 10) + 3x = 2 + 3x = 5
c = x - yc = 5 - 22c = -17
Therefore, the values of x, y, and c are 5, 22, and -17 respectively.
x = 8 + 2 * 5
x = 8 + 10
x = 18
y = (x mod 10) + 14
y = (18 mod 10) + 14
y = 8 + 14
y = 22
x = (y div 10) + 3
x = (22 div 10) + 3
x = 2 + 3
x = 5
c = x - y
c = 5 - 22
c = -17
Therefore, the values of x, y, and c are 5, 22, and -17 respectively.