Can anyone plz tell me what is the flaw in the code? Sololearn is not accepting this! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone plz tell me what is the flaw in the code? Sololearn is not accepting this!

It's the project of C++ "Tickets Office" https://code.sololearn.com/c2Q3fawHI3Em/?ref=app

19th Nov 2020, 7:44 AM
NiTESH
NiTESH - avatar
5 Answers
+ 1
What is wrong then? Do you get errors?
19th Nov 2020, 8:12 AM
Paul
Paul - avatar
+ 1
You have nested the ifs, that is wrong. If the first if isn't true, the other ones won't be tested.
19th Nov 2020, 8:18 AM
Paul
Paul - avatar
+ 1
Wow just wow BEGGINER and Paul Thank you so much for your answer I'm a newbie here and getting such help from you guys is incredible 😃
19th Nov 2020, 8:41 AM
NiTESH
NiTESH - avatar
0
Application is running the test and 4th and 5th are failing everytime!
19th Nov 2020, 8:14 AM
NiTESH
NiTESH - avatar
0
Can you please tell me how to fix it?
19th Nov 2020, 8:19 AM
NiTESH
NiTESH - avatar