for grade percentages. The grade percentages will be programmed through a case statement and the number of each letter g
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
for grade percentages. The grade percentages will be programmed through a case statement and the number of each letter g
statement and the number of each letter grade will be converted and incremented. After exiting the while loop, you will print the results of each grade to the screen. Below is how your grade will be broken down: • Documentation (Every step should be documented) • Creating Variables 3pts 2pts • Prompting User for Values I 3pts . While loop 6pts • Case Statement 10pts 6pts • Printing Results Total 30pts 'name 'date 'variables 'read in grade percentage then check to see what grade letter it is 'also keep track of how many A, B, C, D, F print all grade info: 'A> 89, B> 79, C> 69, D > 59 ELSE F Din inval As Char Dim acount, bcount, ccount, dcount, fcount, gradepercent As Integer While inval <> "X" Console.Write("Enter a grade precentage: ") gradepercent Console.ReadLine() Console.Write("Press X to exit: ") inval Console.ReadLine() End While Console.WriteLine("There was & acount & "A's") Console.WriteLine("There was & bcount & "B's") Console.WriteLine("There was" & ccount & " C's") & dcount & "D's") Console.WriteLine("There was Console.WriteLine("There was & fcount & "F's").
for grade percentages. The grade percentages will be programmed through a case