Question: What would the Java code be for these following things: Assign the name of the student to a string variable. Assign the school meal plan
What would the Java code be for these following things:
Assign the name of the student to a string variable.
Assign the school meal plan amount to a double variable
Assign the housing fee to a double variable
Assign the number of credits being taken to an integer variable
Calculate the tuition due by multiplying the credits times $850
Calculate the technology fee by multiplying the number of credits by $25
Calculate the final bill due by adding the following amounts: tuition, meal plan, housing fee and technology fee
Print a Heading with the name of the student, for example:
UNI Student billing for John Doe
Print the number of credits with a label, for example:
Number of Credits = .
Print the tuition amount with a label
Print the meal plan amount with a label
Print the housing fee amount with a label
Print the technology fee amount with a label
Print the final bill due for the student with a label
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
