Math magic - help!


#1



https://www.codecademy.com/en/courses/learn-java/projects/math-magic?user_id=586bc7d7836966fc96000024


Please help me, I'm stuck with this exercise and don't know what the problem is?

Magic.java:14: error: cannot find symbol
System.out.printIn(stepSix);
^
symbol: method printIn(int)
location: variable out of type PrintStream
1 error


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

 /*The following code prints out myNumber regardless of  what you decide that number to be!*/
    
		int myNumber = 29;
      int stepOne = myNumber * myNumber; 
    int stepTwo = stepOne + myNumber;
      int stepThree = stepTwo / myNumber;
    int stepFour = stepThree + 17;
      int stepFive = stepFour / myNumber;
    int stepSix = stepFive / 6;
    
      System.out.printIn(stepSix);
	}
}


#2

write System.out.println instead of System.out.printIn

its l (not 1 , don't be confuse) not I


#3

Arh perfect ) thanks mate!


#4

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