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

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter12: Exception Handling
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question

.. 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

• 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
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)
Transcribed Image Text:• 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 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 1 images

Blurred answer
Knowledge Booster
Introduction to Coding
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