package com.codegym.task.task01.task0107;
/*
No comments needed
*/
public class Solution {
public static void main(String[] args) {
int x = 2;
int y = 12;
// x = x * 3;
// y = x + y;
// x = y - x;
// y = y - x;
System.out.println(x);
System.out.println(y);
}
}
what is the solution
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Kumar Abhishek
25 September 2018, 07:45
Try it solve in copy taking step by step solution, neglecting a line and equipping other and further. Keep Calm.
0
Ankush Rajput
25 September 2018, 06:54
Try yourself. You can add print statements after each expression to test what the expression is evaluating to at each step. Then you can think what to comment and what to uncomment accordingly. Try harder.
If you still don't get it after trying a lot, leave it. Complete few other lessons and come back to it again after sometime with fresh mind.
0