My code doesnt work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My code doesnt work

i wrote my first simple yet practical code and i wanted to upgrade it but after the upgrade the code wont worknidk to fix it can someone please help me. wwhat the code does is self explainitory https://code.sololearn.com/cerA0qRaj4Kt/?ref=app

7th Jan 2018, 10:38 PM
Lord Awesome
Lord Awesome - avatar
4 Answers
0
check ur logic operators for the adult case
7th Jan 2018, 10:43 PM
Jeremy
Jeremy - avatar
0
wow i wouldnt have never found that mistake. thank you! @Jeremy
7th Jan 2018, 10:48 PM
Lord Awesome
Lord Awesome - avatar
0
just enter a value for every case and you'll see where it fails if you cant find it manually
7th Jan 2018, 10:50 PM
Jeremy
Jeremy - avatar
0
oh thats a good idea i need some troubleshooting classes lol
7th Jan 2018, 10:51 PM
Lord Awesome
Lord Awesome - avatar