On Fri, Oct 20, 2017 at 12:41 PM, "David Kang" < caunovas@gmail.com> wrote: in my country, Lunch time XD On Fri, Oct 20, 2017 at 12:39 PM, "Saad" < saad@codecademy-pro.intercom-mail.com> wrote: Oh alright, so I think the issue here is that you're setting the values manually Instead of letting Java do the math So for example in step two You would do: int stepOne = myNumber * myNumber;
You let Java do the math, you don't want to calculate it yourself and then just set a number On Fri, Oct 20, 2017 at 12:38 PM, "David Kang" < caunovas@gmail.com> wrote: i already fisished this step. but not availble Up NEXT button On Fri, Oct 20, 2017 at 12:38 PM, "Saad" < saad@codecademy-pro.intercom-mail.com> wrote: On Fri, Oct 20, 2017 at 12:37 PM, "David Kang" < caunovas@gmail.com> wrote: On Fri, Oct 20, 2017 at 12:32 PM, "Saad" < saad@codecademy-pro.intercom-mail.com> wrote: Haha thanks! Best of luck continuing with your lessons On Fri, Oct 20, 2017 at 12:31 PM, "David Kang" < caunovas@gmail.com> wrote: On Fri, Oct 20, 2017 at 12:29 PM, "Saad" < saad@codecademy-pro.intercom-mail.com> wrote: No problem! We'll be here if you have any more questions :) On Fri, Oct 20, 2017 at 12:27 PM, "David Kang" < caunovas@gmail.com> wrote: On Fri, Oct 20, 2017 at 12:26 PM, "Saad" < saad@codecademy-pro.intercom-mail.com> wrote: You would want to do something like: int myNumber = something;
You would want to replace something with an actual number On Fri, Oct 20, 2017 at 12:26 PM, "David Kang" < caunovas@gmail.com> wrote: On Fri, Oct 20, 2017 at 12:26 PM, "Saad" < saad@codecademy-pro.intercom-mail.com> wrote: Hey David! I'm Saad, an advisor at Codecademy. On Fri, Oct 20, 2017 at 12:24 PM, "David Kang" < caunovas@gmail.com> wrote: hi. how to write code, in this step? Create an int variable called myNumber and set it equal to any integer you like. We will refer to this integer as the original number from now on.
|
댓글