Write a program contained a class Student which has firstName, lastName, mark, grade. The class allows object instance to assign firstName, lastName and mark from input user and perform and assign grade based on mark's criteria displayed below. SAMPLE OF OUTPUT: Enter student details: First Name: John Last Name: Kendall Marks : 96 Grade Last Name Kendall First Name John A+ Another student? (Yes 1, No - 0):> 1 Enter student details: First Name: Mary Last Name: Kendall Marks : 76 FirstName Last Name Grade Mary Kendall C+ Another student? (Yes - 1, No - 0):> 0 Total student : 2 Exit..

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 21PE
icon
Related questions
Question
Mailings
Review
View
ell me what you want t
Help
Design
Layout
References
imes New Romar -
12
A A
Aa v
ab
、三
B
IU abs X, x A
Paragraph
Font
Objective(s):
You are required to write a program in JAVA based on the problem description given. Read the
problem description and examine the sample of output; then study the program design given.
Using the problem-solving tips as a guide, write a complete program with necessary useful
comment for good documentation. Compile and execute the program.
Learning Outcome(s):
1. To introduce business problem specification/requirement and translates into JAVA codes.
2. To practice writing simple application of deploying object-oriented programming concept using
JAVA.
DESCRIPTION OF PROBLEM:
Write a program contained a class Student which has firstName, lastName, mark, grade. The
class allows object instance to assign firstName, lastName and mark from input user and
perform and assign grade based on mark's criteria displayed below.
SAMPLE OF OUTPUT:
Enter student details:
First Name : John
Last Name: Kendall
Marks
: 96
First Name
Last Name
Grade
John
Kendall
A+
Another student? (Yes - 1, No - 0)ia 1
Enter student details:
First Name: Mary
Last Name: Kendall
Marks
: 76
FirstName
Last Name
Grade
Mary
Kendall
C+
Another student? (Yes - 1, No - 0):> 0
Total student : 2
Exit..
Transcribed Image Text:Mailings Review View ell me what you want t Help Design Layout References imes New Romar - 12 A A Aa v ab 、三 B IU abs X, x A Paragraph Font Objective(s): You are required to write a program in JAVA based on the problem description given. Read the problem description and examine the sample of output; then study the program design given. Using the problem-solving tips as a guide, write a complete program with necessary useful comment for good documentation. Compile and execute the program. Learning Outcome(s): 1. To introduce business problem specification/requirement and translates into JAVA codes. 2. To practice writing simple application of deploying object-oriented programming concept using JAVA. DESCRIPTION OF PROBLEM: Write a program contained a class Student which has firstName, lastName, mark, grade. The class allows object instance to assign firstName, lastName and mark from input user and perform and assign grade based on mark's criteria displayed below. SAMPLE OF OUTPUT: Enter student details: First Name : John Last Name: Kendall Marks : 96 First Name Last Name Grade John Kendall A+ Another student? (Yes - 1, No - 0)ia 1 Enter student details: First Name: Mary Last Name: Kendall Marks : 76 FirstName Last Name Grade Mary Kendall C+ Another student? (Yes - 1, No - 0):> 0 Total student : 2 Exit..
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning