Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Again not sure if this is correct Sub Main() Dim A, B, C, D, F As Decimal \' A,B

ID: 3834803 • Letter: A

Question

Again not sure if this is correct Sub Main() Dim A, B, C, D, F As Decimal ' A,B,C, D, F to convert numerically Console.WriteLine(" enter numeric grade")
If 90 Then A = 100 Else If 80 Then B = 89 Else If 70 Then C = 79 Else If 60 Then D = 69 Else If 0 Then F = 59 Console.ReadLine() Console.WriteLine(" enter letter grade") Console.ReadLine()
Console.WriteLine("the value of A, " & A) Console.WriteLine("the value of B, " & B) Console.WriteLine("the value of C, " & C) Console.WriteLine("the value of D, " & D) Console.WriteLine("the value of F, " & F) Console.Read() End Sub
End Module
Print out
enter numeric grade 95 85 75 65 55 enter letter grade A B C D F the value of A, 100 the value of B, 89 the value of C, 79 the value of D, 69 the value of F, 0 8. write a program which convents a Letter Grade to Numeric grade using the following scale: If Numeric Grade is 90 or over it is A, 80 or over it is B, 70 or over it is C, 60 or over it is D, and less than 60 it is F. Enter your Numeric Grade through console window Print both Numeric Grade and Letter grade on separate lines

Explanation / Answer

Convert_grades function as follows: convert_grades