A. Introduction:

As you see in PhoneCharge.java, the total charge needs to be printed on the screen so we know the result. As a matter of fact, any program has to generate some results - the output. Sometimes the output is data, sometimes not.

B. Try:

Can you print out a Christmas tree? Can you put on some ornaments?

Have you ever wondered what "ln" means in "

*System.out.println()*"? Delete "ln" and run the Xmas tree code again to see what happens. When should you use "*System.out.print()*" instead of "*System.out.println()*"?Write a program that prints an animal speaking a greeting, similar to (but different from) the following:

/\_/\ ----- ( ' ' ) / Hello \ ( - ) < Junior | | | | \ Coder!/ (__|__) -----

If x value changes, v does not, because of the fact that it divides itself after being times by ten. Which means no matter the answer of x, it will end up as ten, and 10-7=3

You got it :)

Check out this link:

https://www.wikihow.com/Read-Someone%27s-Mind-With-Math-(Math-Trick)Can you implement more tricks?

Yes, you can, and I've already done the math to explain why it works.

If you change the value of x then the value of v does not change, because you are just multiplying x times 10 and then dividing that solution by x to get v which = 3. So, the value of v does not change.

Changing the value of x will not change the value of y, and the answer is always 3.

the value of v won't change because you are basically dividing x by itself and then multiplying that by 10.