0
Please help me to solve thos code . Please tell me what is the error in this code .
6 Answers
+ 3
your program first calculates the values and then you're telling the complier give the user input, wtf...
those variables didn't feeded a value so that's why the output gives error and the answer is 0 always.
just put line 5 to line 16. something like this should work
https://code.sololearn.com/cJkKH3r9i3z2/?ref=app
+ 1
Change the order. You are calculating before taking inputs.
+ 1
Put line 5 after line 14
0
Flash what do you mean please explain briefly
0
Ok i will try
0
Thank you for your answer