Math Magic - Don't know what I'm doing wrong

#1 error: class, interface, or enum expected
1 error

public class Magic {
	public static void main(String[] args) {
int myNumber = 2;
int stepOne = myNumber * stepOne;
int stepTwo = stepTwo + stepOne;
int stepThree = stepTwo / myNumber;
int stepFour = stepThree + 17;
int stepFive = stepFour - myNumber;
int stepSix = stepFive / 6; 
	//Math Magic Bruh


Your code doesn't match your error message.


I don't know what to tell you. It's the only error that comes up.Here's the exercise


Never mind I got. I messed up the first few lines.


Well in some way there were two different code files, where one was compiled but the other one was being considered with regard to the error message.

And the very obvious way to proceed from that is to compile and view the same code


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