Question: PLEASE ANSWER ALL i. Implement the following classes: [6 marks] Student - id: int - name: String - address: String - cgpa: double + Student(id:
![PLEASE ANSWER ALL i. Implement the following classes: [6 marks] Student](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3103b5cac9_43466f3103ae53bf.jpg)
PLEASE ANSWER ALL
i. Implement the following classes: [6 marks] Student - id: int - name: String - address: String - cgpa: double + Student(id: int, name, address: String, cgpa: double) + getName(): String +getAddress():String + getId(): int + getCGPA(): double + mailOffer(): void + toString(): String Waiver - fee: double + Waiver(id: int, name, address: String, cgpa, fee: double) + mailOffer(): void + compute Waiver(): double ii. Now, write a program to ask user how many students he/she wants to be listed, take ID, Name, Address, CGPA and Fee of students as user input and store all the information in a "Student" type object array. [8 marks] In computeWaiver() method, less 25% from their fees if their CGPA is more than 3.5/4.0. Invoke mailOffer() method to print name and tuition fees as shown below. [6 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
