0

My program is scanning wrong input. What to do?

My program asks me to input 3 dimension of a box. It will find the volume next. But if the user put 3 input and press enter it shows wrong volume.

10th Jan 2020, 7:01 AM
Emili Na
2 Answers
+ 5
Also, how did you give the input? If you put all three of them in one single input, then of course it will be wrong.
10th Jan 2020, 7:36 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 3
Kindly post your code...so that the error can be identified
10th Jan 2020, 7:05 AM
Shobhith J B
Shobhith J B - avatar