how can I make a code for multiple choice questions? ?? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

how can I make a code for multiple choice questions? ??

25th Apr 2019, 9:31 AM
shivangi
shivangi - avatar
4 ответов
+ 5
For a web version you will likely need html and some Javascript to validate the answers.
25th Apr 2019, 1:56 PM
Sonic
Sonic - avatar
+ 4
With using 'if' and 'else' branching on the basis of user input. I suppose this is about Python? Read the part about if and else and it should become easily solvable.
25th Apr 2019, 9:41 AM
HonFu
HonFu - avatar
+ 2
Try to use switch,if you using C/C++/C#/java. Switch is the alternative for if_else ladders.
26th Apr 2019, 3:10 AM
Zaff's
Zaff's - avatar
+ 1
Chick box
26th Apr 2019, 1:52 AM
Omar Khalil Bakhsh
Omar Khalil Bakhsh - avatar