OOP Class & Object with Constructor and Method using SCANNER: Class Student Data : Last name, First name, Course, Year Level (1= – 4 year), Midterm Grade, Final Grade Attribute • Using SCANNER enter the Following Last name, > First name, Course, Year Level, Midterm Grade, Final Grade, • Show the Full name, Course & Year Level • Compute the Average and Show the Remarks either PASSED or FAILED • The Grades will be range between 60% – 100%, out of this numbers are INVALID GRADES. • Display the Output as shown sample below (passed "75", failed 74 & two (2) Invalid Grades 1 & "59", and passed with different grades)

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

Java programming using scanner

Output should be as follows : 

OOP Class & Object with Constructor and Method using SCANNER:
Class
Student Data
Attribute
: Last name, First name, Course, Year Level (1st – 4h year), Midterm Grade, Final Grade
• Using SCANNER enter the Following
Last name,
First name,
> Course,
Year Level,
Midterm Grade,
Final Grade,
Show the Full name, Course & Year Level
• Compute the Average and Show the Remarks either PASSED or FAILED
• The Grades will be range between 60% – 100%, out of this numbers are INVALID GRADES.
Display the Output as shown sample below (passed "75", failed "74" & two (2) Invalid Grades 101"
& "59", and passed with different grades)
Transcribed Image Text:OOP Class & Object with Constructor and Method using SCANNER: Class Student Data Attribute : Last name, First name, Course, Year Level (1st – 4h year), Midterm Grade, Final Grade • Using SCANNER enter the Following Last name, First name, > Course, Year Level, Midterm Grade, Final Grade, Show the Full name, Course & Year Level • Compute the Average and Show the Remarks either PASSED or FAILED • The Grades will be range between 60% – 100%, out of this numbers are INVALID GRADES. Display the Output as shown sample below (passed "75", failed "74" & two (2) Invalid Grades 101" & "59", and passed with different grades)
: CAGADAS
run:
Enter Last Name
Enter First Name : SHANE
Enter Last Name
: SANTOS
: BS ECE
Enter Year Level : 4
Enter Course
Enter First Name : MIKE
: BSIE
Enter Course
Enter Year Level : 2
: 59
: 59
Enter your Midterm Grade
: 101
: 101
Enter your Final
Enter your Midterm Grade
Grade
Enter your Final
Grade
: CAGADAS, SHANE
: BS ECE
FULL NAME
: SANTOS, MIKE
: BSIE
: 2
COURSE
FULL NAME
YEAR
: 4
COURSE
YEAR
: 59.0
: INVALID CRADES
AVERAGE
REMARK
AVERAGE
: 101.0
BUILD SUCCESSFUL (total time: 30 s
REMARK
: INVALID GRADES
I+ntal tima
run:
: Rose
Enter First Name : Steph
Enter Last Name
Enter Course
: BSECE
Enter Year Level : 5
Enter your Midterm Grade
Grade
: 90
: 80
Enter your Final
: Rose, Steph
: BSECE
FULL NAME
COURSE
YEAR
: 5
: 85.0
: PASSED
AVERAGE
REMARK
BUILD SUCCESSFUL (total time: 47 s
Transcribed Image Text:: CAGADAS run: Enter Last Name Enter First Name : SHANE Enter Last Name : SANTOS : BS ECE Enter Year Level : 4 Enter Course Enter First Name : MIKE : BSIE Enter Course Enter Year Level : 2 : 59 : 59 Enter your Midterm Grade : 101 : 101 Enter your Final Enter your Midterm Grade Grade Enter your Final Grade : CAGADAS, SHANE : BS ECE FULL NAME : SANTOS, MIKE : BSIE : 2 COURSE FULL NAME YEAR : 4 COURSE YEAR : 59.0 : INVALID CRADES AVERAGE REMARK AVERAGE : 101.0 BUILD SUCCESSFUL (total time: 30 s REMARK : INVALID GRADES I+ntal tima run: : Rose Enter First Name : Steph Enter Last Name Enter Course : BSECE Enter Year Level : 5 Enter your Midterm Grade Grade : 90 : 80 Enter your Final : Rose, Steph : BSECE FULL NAME COURSE YEAR : 5 : 85.0 : PASSED AVERAGE REMARK BUILD SUCCESSFUL (total time: 47 s
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Data members
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
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