Math Magic Trick


#1

I need help with this. I don't really know how to do this:relaxed:


#2

Hey there, please include your code so we have something to work with.


#3

I already done that. The code is

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

int myNumber = 34;
int stepOne = myNumber * myNumber;
int stepTwo = stepOne + myNumber;
int stepThree = stepTwo / 6;
int stepFour = stepThree + 17;
int stepFive = stepFour - 6;
int stepSix = stepFive / 6;

System.out.println(stepSix);

}

}


#4

Do not post solution to code or you could risk getting banned...