Identify and correct the error(s) in the following (you may simply need to add code):
Assume that y and total are declared as Integers
total = 0
Do Until y = -1
Print y
y = InputBox(“Enter a value, value input”)
total = total + y
Loop
1
Expert's answer
2021-05-19T11:58:05-0400
Module Module1
Sub Main()
Dim total AsInteger = 0Dim y AsInteger = 0DoUntil y = -1
Console.WriteLine(y.ToString())
y = InputBox("Enter a value, value input")
total = total + y
Loop
Console.ReadLine()
EndSubEndModule
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments