+ 1
i can't get what's wrong with my code
3 Answers
+ 1
You don't need the if-else. Just use the statements in the if block and remove the endl. I.E. just always output pie or (fruit / 2) / 3
0
There's nothing wrong actually. What's the problem?
0
mnaeem08 the code coach doesn't accept it as a complete solution
even when i added a scenario for odd inputs.