+ 1

Please help me ,in my code,it is not returning any value?please tell me my mistakes.

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

8th Aug 2019, 1:40 PM
Prabhjot Singh
Prabhjot Singh - avatar
3 Answers
+ 2
You haven't written anything that prints the result; wrap your product() call in your main in System.out.println.
8th Aug 2019, 1:50 PM
Rincewind
Rincewind - avatar
+ 3
You arent printing the values the user inputs, you are returning them. Please remember that "return" doesnt print anything into the console/screen.
8th Aug 2019, 1:50 PM
Jon
Jon - avatar
0
Thanks brother
8th Aug 2019, 2:30 PM
Prabhjot Singh
Prabhjot Singh - avatar