Instructions: In this project, you will become a mathemagician and write a small program that performs a mathematical magic trick! It will involve performing arithmetic operations on an integer that you choose. The instructions provided are general guidelines. Upon completion of the project, feel free to explore the code on your own.
publicclassMagic {
publicstaticvoidmain (String[], arg) {
intmyNumber = 15;
// We will refer to myNumber as the original number from now on.intstepOne = (myNumber) * (myNumber);
intstepTwo = (stepTwo) + myNumber;
intstepThree = (stepTwo) / myNumber;
intstepFour = (stepThree) + 17;
intstepFive = (stepFour) - myNumber;
intstepSix = (stepFive) / 6;
System.out.println(stepFive);
}
}
// FZ// Sample output: 18If you liked my coding then follow me on my Instagram account or GitHub account.
