Knute Snortum wrote:Your code has "smart quotes", that is, they lean to the left and right. Java needs straight quotes. Turn your text editor to text-only mode or use Notepad++ in Windows or Vim in Linux/Mac.
You should also indent you code so that the logic structure can be seen.
Campbell Ritchie wrote:That looks correct, yes. Try writing down what the second triangle will look like.
Campbell Ritchie wrote:Well done
Kubiche Dominguez wrote:What I dont understand
is from where comes the 343. Can anyone here explain to me please? I cant figure out when "y" equals 4 neither.
What values were taken to multiply and divide so it ended in 343 or whatever was done.
They want us to know, how assignment of reference variables differ from assignments of primitive data type variables, with their impact on the value they are having.
Kubiche Dominguez wrote:Now, why they assigned the value 27 to x again if its never used or theres
still something i need to understand. I thought the 27 would have an impact
on the new assigment of x because i dont see it.