+ 1
Hello guys i hope you are fine and well. Hey just i wanted to ask that what is the error in the program.
2 Answers
+ 2
you simply put a semicolon in line 11, just between the if condition and open bracket
also, your code warns you that you've used an int data-type when you're accepting decimal values. so change that to double, located at line 9, units variable
0
Thanks for helping