0

What is error in line 19what is return statement need?

https://code.sololearn.com/c8yLLMV5ip6a/?ref=app

26th Jun 2017, 1:48 PM
esraa ragab
3 Answers
+ 11
"public int value()" ..... means that this method returns an int... try "public void value()....." instead or add "return 0" at bottom of function...
26th Jun 2017, 1:52 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
your braces are all over the place
26th Jun 2017, 1:51 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
thank you
26th Jun 2017, 1:56 PM
esraa ragab