12. Generalizations Problem 4

I am having troubles with a problem on setting the int variable epicLevel equal to awesomeLevel multiplied by 2. I did 121 multiplied by 2 and I got 242. Here is my code and please tell me ASAP if my code is wrong!

	boolean isComplete = true;
	int awesomeLevel = 121;
	int epicLevel = 242;

HI thsi line



int epicLevel = 242;

instead of writting the result you should do … awesomeLevel multiplied by 2 and store it inside epicLevel

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.