diff --git a/Average and Largest Number Calculator (While-End While).vb b/Average and Largest Number Calculator (While-End While).vb deleted file mode 100644 index 1b74306..0000000 --- a/Average and Largest Number Calculator (While-End While).vb +++ /dev/null @@ -1,24 +0,0 @@ -Module Module1 - - Sub Main() - Dim Number As Integer - Dim Sum As Integer = 0 - Dim Count As Integer = 0 - Dim Average As Integer - Dim LargestN As Integer = 0 - Console.WriteLine("Input the numbers here, -1 to end the program") - While Number <> -1 - Number = Console.ReadLine() - Sum = Sum + Number - Count = Count + 1 - If Number > LargestN Then - LargestN = Number - End If - End While - Average = Sum / Count - Console.WriteLine("The average of the number(s) input is " & Average) - Console.WriteLine("The largest number is " & LargestN) - Console.ReadLine() - End Sub - -End Module