Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN JAVA! HOW WOULD I GO ABOUT HAVING A STUDENT DANIEL TAZI AND THE INFORMATION NEEDED ALREADY EXISTING IN CODE? I already have some code

IN JAVA! HOW WOULD I GO ABOUT HAVING A STUDENT "DANIEL TAZI" AND THE INFORMATION NEEDED ALREADY EXISTING IN CODE? I already have some code written but I don't know how to implement an already existing person. Please help ASAP.
Sample Run (The users entry is in bold. * text is not part of the execution of the program)
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
5- Print fee invoice sorted by crn
0- Exit program
Enter your selection: 3
Enter the students id: 8989
No Student found!
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
5- Print fee invoice sorted by crn
0- Exit program
Enter your selection: 1
Enter the students id: 5959
Sorry, 5659 is already assigned to another student
*(assume that 5959 already exists in this sample run)
Enter the students id: 5900
Enter students name: John Smith
Enter how many courses John Smith is taking?
2
Enter the 2 course numbers
45874599
*(No need to check for valid course numbers or duplicates)
Enter John Smiths current gpa:
2.75
(John Smith is not eligible for the 25% discount)
Student added successfully!
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
5- Print fee invoice sorted by crn
0- Exit program
Enter your selection: 5
Enter the students id: 5959
VALENCE COLLEGE
ORLANDO FL 10101
---------------------
Fee Invoice Prepared for Student:
5959-DANIEL TAZI
1 Credit Hour = $120.25
CRN CR_PREFIX CR_HOURS
4587 MAT 2364 $ 481.00
4599 COP 2203 $ 360.75
Health & id fees $ 35.00
--------------------------------------
$ 876.75
-$ 219.18
----------
TOTAL PAYMENTS $657.56
*(As you can see, Daniel Tazi qualifies for the 25% discount)
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
5- Print fee invoice sorted by crn
0- Exit program
Enter your selection: 2
Enter the students id: 5959
Here are the courses [DANIEL TAZI] is taking:
CRN PREFIX CR. HOURS
4587 MAT 2364
4599 COP 2203
Choose from:
A- Add a new course for [DANIEL TAZI]
D- Delete a course from [DANIEL TAZI]s schedule
C- Cancel operation
Enter your selection: d
Enter course Number to delete: 4599
[4599/COP 220] is deleted successfully!
Want to display new invoice? Y/N: y
VALENCE COLLEGE
ORLANDO FL 10101
---------------------
Fee Invoice Prepared for Student:
5959-Daniel Tazi
1 Credit Hour = $120.25
CRN CR_PREFIX CR_HOURS
4588 MAT 2364 $ 481.00
Health & id fees $ 35.00
--------------------------------------
Total Payments $ 516.00
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
5- Print fee invoice sorted by crn
0- Exit program
Enter your selection: 0
Goodbye!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago