IN A QUIZ HOW TO COMPARE A STRING IN A FILE AND OPTION WE ENTER. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

IN A QUIZ HOW TO COMPARE A STRING IN A FILE AND OPTION WE ENTER.

in a quiz project we have to access the questions from a file and ask the user to enter the option and compare it with the given ans in the file and evaluate but whatever option i enter its giving it as right answer.

2nd Apr 2018, 3:50 PM
parina kn
parina kn - avatar
1 Answer
+ 7
Pls try to provide a simple example on the code playground to describe the issue. I'm sure someone is able to help you then.
2nd Apr 2018, 4:23 PM
Tashi N
Tashi N - avatar