Look I will give an example that I hope it will help you
question1$ = "What is you name?"
question2$ = "How old are you?"
question3$ = "Where do you live?"
print question1$
input name$
sleep 2000
cls
print question2$
input age#
sleep 2000
cls
print question3$
input home$
sleep 2000
cls
print "Well hello ";name$;", You are ";age#;", and you live in ";home$;"."
wait key
end
And here is a secend example like the one you are trying to do
question1$ = "what is the sum of 1 + 1?"
question2$ = "What is the sum of 2 * 2?"
question3$ = "What is the sum of 10/10?"
add:
print question1$
input quest#
if quest# = 2
goto multiply
else
print "You are wrong!!!"
sleep 2000
end
endif
multiply:
cls `Clears the screen
print question2$
input quest2#
if quest2# = 4
goto divid
else
print "You are wrong!!!"
sleep 2000
end
endif
divid:
cls
print question3$
input quest3#
if quest3# = 1
goto ending
else
print "You are wrong!!!"
sleep 2000
end
endif
ending:
cls
print "You was right in all the question congratulations!!!"
sleep 4000
end
the code just asks some questions and sees if the input is write then it goes to the next one
Tell me if you do not understand, then I'll explain it to you, but I hope you understand