0

Explain it...

Input format: integer sign(+, -, *, /) integer Now why it shows 0.0 when I enter 1/2 ? https://code.sololearn.com/cKyKUYJsXXVA/?ref=app

16th Jan 2021, 12:50 PM
Name
Name - avatar
2 Answers
+ 1
Line 18: Change to static double clac4(float n1, float n2) OR static double clac4(double n1, double n2)
16th Jan 2021, 1:05 PM
Vadivelan
0
Got it... thanks...
16th Jan 2021, 1:07 PM
Name
Name - avatar