How to Uncomment the last line so that the console prints out the value of epicLevel?


#1

how do you Uncomment the last line so that the console prints out the value of epicLevel? removing // does not resolve the problem that i have.


#2

Hi @aisha1980,

In order to effectively help could you please ensure you post the code that is causing you issues :smile:

With that in mind, please see the code example below, and note any differences between it and your own version, if they match then please try restarting the lesson, use the bottom right hand corner menu "GET HELP" and if you continue to experience problems please try on a different browser just in case, and then finally go ahead and paste your code and any error you are getting in a reply if you still have no luck :smile:

public class Generalizations {
    public static void main(String[] args) {

        //moving on....
        boolean isComplete = true;
        int awesomeLevel = 121;
        int epicLevel = awesomeLevel*2;        
        System.out.println(epicLevel);
        

    }
}

#3

Thanks Mike it worked!