Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

StudentLoans class

1 Code a no-argument constructor. In this constructor, a) Add 2 Student objects to the Students array. b) Add 2 PostGraduate objects to the Students array. c) Set noOfStudents to 4.

2 Code a method menu() that returns an int value. This value represents the choice the user has made from the available menu options. a) Define a Scanner variable to read from the keyboard. b) Define an int value, named choice. c) Display a menu in the following format:

1: Add student

2: Display students

3: Display interest

4: Exit

d) Read the user’s choice from the keyboard.

e) Return the choice read from the keyboard.


PostGraduate

-thesis: String

+<<constructor>> PostGraduate()

+<<constructor>> PostGraduate(String,String,Long,double)

+setThesis(String): void

+getThesis(): String

+toString(): String

+show(): void

+interest(): double


Write the PostGraduate class as per the class diagram. Remember to call the super class methods or constructors as needed. show() method This method is void and displays the details of a PostGraduate object as follows:

Student details Name: Mpho

Student number: 201812345

Loan amount: 10000.0

Thesis: I do not know

Code the method interest(). This method returns a double value calculated as follows: loanAmount times 10%.


Write a C program to Implement a height-balanced binary search tree


Write a bash script to print the calendar for the entire month, given a date.


Student

-name: String

-studentNumber: long

-loanAmount: double

+<<constructor>> Student()

+<<constructor>> Student(String, long, double)

+getName(): String

+getStudentNumber(): long

+getLongAmount(): double

+setName(String): void

+setStudentNumber(long): double

+setLoanAmount(double): void

+toString(): String

+show(): void

+interest(): double


show() method This method is void and does not have any parameters. This method displays the details of a Student object as follows:

Student details Name: Smittie

Student number: 12345

Loan amount: 10000.0

Coding for interest() method public double interest() { return loanAmount*.05; } 


Rizal Technological University is accepting applicants for its scholarship program. A student will receive scholarship if the high school academic rating average is above 95 or the number of varsity letters earned is at least 10 and the high school academic rating is above 75. RTU will grant scholarship only for the first 50 qualified students. Write an algorithm and draw a flowchart that will determine the first 50 successful applicants.


with the use of switches, draw a flowchart and algorithm that will determine and print out the sum of all even and odd integer numbers from 1 to 20. note that the sum of even integer number for the given range would be equal to the sum of 2,4,6,8,10,12,14, 16, 18, 20 and for odd integer number it would be 1, 3, 5, 7, 9, 11, 13, 15, 17, 19.


draw a flowchart and write an algorithm that will compute for the average and will read and print the names and individual scores of 100 students for a particular examination


given a set of 15 integer numbers that includes both positive and negative values.draw and write an algorithm that will read in the values including zero and the numbers of negative values found in the set. print out yhe counted values


Draw expression tree for the following arithematic expression.Draw diagram after each step clearly.No points will be given for diect answer.

Expression: 1 + 7 - 3 + 4 + 1 * 6 / 3 * 4


Note:

No code is required.


LATEST TUTORIALS
APPROVED BY CLIENTS