x=2;y=12
if i put numbers in the variables y=y*x so 12=12*2 x=2;y=12 it makes also no sense
and how can the solution in this task be 24
how to calculate this please help!!!!!
package de.codegym.task.task01.task0107;
/*
Kein Kommentar erforderlich
*/
public class Solution {
public static void main(String[] args) {
int x = 2;
int y = 12;
y = x * y;
//y = x + y;
x = y - x;
y = y - x;
System.out.println(x);
System.out.println(y);
}
}