Question 1 Create a VB.NET Console Application that does the following: Create a variable of Integer data type, called marks; Create a variable of String data type, called grade; Assign the user input to marks; Convert marks into grade as follows using the Select-Case statement: Marks Grade 70-100 A 60-69 B 50-59 C 40-49 D Below 40 F   Display the values of marks and grade in the console window using the statements Console.WriteLine(marks) Console.WriteLine(grade)

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question
  • Question 1
  • Create a VB.NET Console Application that does the following:
  • Create a variable of Integer data type, called marks;
  • Create a variable of String data type, called grade;
  • Assign the user input to marks;
  • Convert marks into grade as follows using the Select-Case statement:

Marks

Grade

70-100

A

60-69

B

50-59

C

40-49

D

Below 40

F

 

  • Display the values of marks and grade in the console window using the statements
  • Console.WriteLine(marks)
  • Console.WriteLine(grade)
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Study of Characters
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning