public class Solution {
public static void main(String[] args) {
int x = 1;
int y = 0;
y = y + x;
x = x * 2;
y = y + x;
x = x * 2;
y = y + x;
// x = x * 2;
y = y + x;
x = x * 2;
y = y + x;
System.out.println(y);
}
}
Ram Charan Teja kaikala
Level 3
Comment out as many lines as possible to display the number 19(while i am running code 19 is displaying but while i am verifying it is showing error(You need to comment out as many required lines as possible and not change the rest.) what is the mistake i have done.)
Resolved
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Alessa
19 April 2019, 09:20
Even i'm facing the same problem
+1
Pavlo Plynko Java Developer at CodeGym
9 August 2018, 09:28
See the comments here https://codegym.cc/help/62
0