Using logical operators and conditional statements, write a Visual Basic Code whereby if a student enters his/her exams score, the program compares if the score is greater than or lesser than and it displays the grade a student obtained. Eg. Your exams grade is A Using the marking scheme below. 80 to 100 Grade = A 75 to 79 Grace = A - 70 to 74 Grade = B+ 65 to 69 Grace = B - 60 to 64 Grace = C+ 55 to 59 Grade = C - 50 to 54 Grade = D 45 to 49 Grade = E O to 44 Grade = F

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section: Chapter Questions
Problem 7PP
icon
Related questions
Question
Using logical operators and
conditional statements, write a
Visual Basic Code whereby if a
student enters his/her exams
score, the program compares if the
Score is greater than or lesser than
and it displays the grade a student
obtained.
Eg. Your exams grade is A
Using the marking scheme below.
80 to 100 Grade = A
75 to 79 Grace = A -
70 to 74 Grade = B+
65 to 69 Grace = B -
%3D
60 to 64 Grace = C+
55 to 59 Grade = C -
50 to 54 Grade = D
45 to 49 Grade = E
O to 44 Grade = F
Transcribed Image Text:Using logical operators and conditional statements, write a Visual Basic Code whereby if a student enters his/her exams score, the program compares if the Score is greater than or lesser than and it displays the grade a student obtained. Eg. Your exams grade is A Using the marking scheme below. 80 to 100 Grade = A 75 to 79 Grace = A - 70 to 74 Grade = B+ 65 to 69 Grace = B - %3D 60 to 64 Grace = C+ 55 to 59 Grade = C - 50 to 54 Grade = D 45 to 49 Grade = E O to 44 Grade = F
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr