Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Why does the if statement always make the code crash?

+3 votes
asked Mar 8 by Rathe Cooper (150 points)

2 Answers

0 votes
answered Mar 10 by Eidnoxon (5,140 points)
What if statement? I think you screwed something up, because that is not supposed to happen. Please send us the source code or at least the error message
0 votes
answered Mar 16 by Rehman Khan (160 points)
if you don't use the else condition only then if statements crashed,

and also if you dont't define the if condition then program crashed
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...