dim correctanswer = 0, name, q1, q2, q3, q4, q5, q6, q7, q8, q9, q10 as string
Console.WriteLine("Enter your name")
name = Console.ReadLine()
Console.WriteLine("Q1. 1 + 1 = ?")
correctanswer = correctanswer + 1
q1 = "Your anwer in Q1 is correct"
q1 = "Your anwer in Q1 is wrong"
Console.WriteLine("Q2. 2 + 2 = ?")
correctanswer = correctanswer + 1
q2 = "Your anwer in Q2 is correct"
q2= "Your anwer in Q2 is wrong"
Console.WriteLine("Q3. 3 + 3 = ?")
correctanswer = correctanswer + 1
q3 = "Your anwer in Q3 is correct"
q3= "Your anwer in Q3 is wrong"
Console.WriteLine("Q4. 4 + 4 = ?")
correctanswer = correctanswer + 1
q4 = "Your anwer in Q4 is correct"
q4= "Your anwer in Q4 is wrong"
Console.WriteLine("Q5. 5 + 5 = ?")
correctanswer = correctanswer + 1
q5 = "Your anwer in Q5 is correct"
q5= "Your anwer in Q5 is wrong"
Console.WriteLine("Q6. 6 + 6 = ?")
correctanswer = correctanswer + 1
q6 = "Your anwer in Q6 is correct"
q6= "Your anwer in Q6 is wrong"
Console.WriteLine("Q7. 7 + 7 = ?")
correctanswer = correctanswer + 1
q7 = "Your anwer in Q7 is correct"
q7= "Your anwer in Q7 is wrong"
Console.WriteLine("Q8. 8 + 8 = ?")
correctanswer = correctanswer + 1
q8 = "Your anwer in Q8 is correct"
q8= "Your anwer in Q8 is wrong"
Console.WriteLine("Q9. 9 + 9 = ?")
correctanswer = correctanswer + 1
q9 = "Your anwer in Q9 is correct"
q9= "Your anwer in Q9 is wrong"
Console.WriteLine("Q10. 10 + 10 = ?")
correctanswer = correctanswer + 1
q10 = "Your anwer in Q10 is correct"
q10= "Your anwer in Q10 is wrong"
Console.WriteLine("Your Output "&name)
Console.WriteLine("Your Score is "& correctanswer)
percentage = (correctanswer / 10) *100
Console.WriteLine("The Percentage Value of your score is " &percentage)