Not sure what I might have done wrong? I'm currently getting the the correct display but
maybe I have altered the program too much and there is a specific number of lines that
should be commented out? I "Run" the code and below shows the output as 19, So I'm not
sure what I might have done wrong?
Program output
Program executed without errors
Screen output from the program (System.out)
19
Input data (System.in)
package com.codegym.task.task02.task0211;
/*
The required number
*/
public class Solution {
public static void main(String[] args) {
int x = 1;
int y = 0;
/*y = y + 3 * x;*/
/*y = x * 2;*/
y = x * 16;
y = y + 2 * x;
y = y + x;
System.out.println(y);
}
}