Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are to create a program that will keep track of 5 student records You may define the data however you like, arrays, individual variables
You are to create a program that will keep track of student records
You may define the data however you like, arrays, individual variables etc...
You will define any values you like for the data.
You may read the data in from dialog boxes or you can create a text file and
read in the data that way.
You are NOT to use scanner to read in the data
The data you will read for each of the students will be:
Student number string of numbers
Student name
Number of credits
GPA
You must also read the name of the University
Your program must meet the following specifications
You must create a new user defined class
Add data read in and calculated is to be a member of the class. Therefore,
nothing is to be passed in the parameter lists.
The following methods are to be part of the class
One method to read in all data either from dialog boxes or text file
One method to calculate the following
Calculate the tuition for each student $ times the number of
credits
Total tuition of all students
Average GPA
Number of honor students GPA
One method using one dialog box to print the following:
Name of the University
Student number, name, number of credits, GPA and tuition
Total tuition paid
Number of honor students
Additionally, you must use formatting for all decimal values
You do not have to do user input error checking on this assignment. FORMAT DECIMALS, DO NOT USE GLOBAL VARIABLES, SCANNER, ARRAYLIST, LISTS.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started