Hi guys!
I hope you can help me with my problem.
How can i randomize two questions in bgt?
Here is my code:
void main()
{
string input;
input=input_box("input_box", "what is bgt?", "");
if(input=="a programming language")
{
alert("yes!", "The answer was indeed a programming language!");
}
else
{
alert("Sorry!", "The answer is a programming language, not "+input+"!");
}
string input1;
input1=input_box("input_box", "what does tts mean?", "");
if(input1=="text to speech")
{
alert("yes!", "The answer was indeed text to speech!");
}
else
{
alert("Sorry!", "The answer is text to speech, not "+input1+"!");
}
}
Thanks for your help.
Best regards.
Pages 1