#Error find

1 messages · Page 1 of 1 (latest)

celest cypressBOT
#

<@&987246399047479336> please have a look, thanks.

#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

slim mauve
#

u wrote that the method must return an int

#

yet u return a double

#

hence the error

#

In line 6

#

public static int

manic scroll
#

i am taking input as int in line 13

slim mauve
#

that's not what i said

#

let me repeat

#

u defined that the method must return an int, by writing
public static int...

#

yet u return a double

#

that's not allowed

manic scroll
#

oh....

#

thanks

#

i have now understand what's my fault

slim mauve
#

awesome

manic scroll
#

oh.. great

#

my program works

#

thanks a lot