我需要以下代码的帮助,因为它不起作用:
Do While answer = "Y" Or "y"
num = "0"
Console.WriteLine("Enter number")
num = Console.ReadLine
total = total + num
Console.WriteLine("Do you want to continue Y/N")
answer = Console.ReadLine
Loop