Question: Dim score, max, percentage As Integer Console.WriteLine ( Enter your score: ) score = Console.ReadLine Console.WriteLine ( Enter the maximum score: ) Console.ReadLine

Dim score, max, percentage As Integer
Console.WriteLine("Enter your score:")
score = Console.ReadLine
Console.WriteLine("Enter the maximum score:")
Console.ReadLine
percentage =(score / max)
Console.WriteLine("You got " & percentage *100 & "%")
Console.ReadKey()
1.There is one mistake in getting input data from the user in this program.
Explain what this mistake is and give a correction
2.There is one mistake in the creation of variables in this program.
Explain what this mistake is and give a correction

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!