0
why I am getting two results instead of one? anything wrong with algorithm?
4 odpowiedzi
+ 1
https://code.sololearn.com/c9VcUJKQ2Gfy/?ref=app
+ 1
It's because you have not used the if else statements correctly! Check the boundaries you have added. There cannot be two else statements for one if.
+ 1
Can you please make a program using if else for the given topic?
+ 1
You can change the boundaries as you please😊