Stuck on Learn Java 12. Generalizations!


#1

Hello I am having some trouble figuring out this code! Here are the instructions to the problem
Set the int variable epicLevel equal to awesomeLevel multiplied by 2.
The problem before stated
Set the int variable awesomeLevel equal to 121.
So I put the code
int awesomeLevel = 121;
int epicLevel = 242;
But it told me I was wrong and asked me
"Did you multiply the awesomeLevel variable by 2?"
Can you please help me on what I did wrong! Please help ASAP! Thank you!


#2

Rather than epicLevel being 242, you need to set epicLevel equal to awesomeLevel * 2


#3

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