Modify ZkQuiz Questions
1. Modify the Questions Asked
let mut user_answers = "".to_string();
let question1 = "What is the capital of France?";
let answers1 = ["Berlin", "Paris", "Madrid"];
user_answers.push(ask_question(question1, &answers1));
let question2 = "What is the chemical symbol for gold?";
let answers2 = ["Au", "Ag", "Fe"];
user_answers.push(ask_question(question2, &answers2));
let question3 = "What is the native cryptocurrency of Ethereum?";
let answers3 = ["Bitcoin", "Ether", "Litecoin"];
user_answers.push(ask_question(question3, &answers3));2. Update the Program
3. Compile the Program
4. Run the new ZkQuiz
Last updated