Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Thid is C Programmin not java At Simple College, a student must take exactly two classes. The purpose of this assignment is to write a

Thid is C Programmin not java
At Simple College, a student must take exactly two classes. The purpose of this assignment is to write a Java program that generates a fee invoice for a student. That requires the input of Student's id (an integer), the two course numbers and their corresponding credit hours (See sample run below). A student with a gpa higher than 2.5 gets a discount of 25% of the total payement excluding the fees.
It costs 120.25 dollars per one credit hour, and each student is charged $35.00 for health and id services.
After inputting all the necessary data (see sample run below), an invoice, as shown below, is printed to the screen.
SIMPLE COLLEGE
ORLANDO FL 10101
Fee Invoice Prepared for:
[Student: 5656]
1 Credit Hour =$120.25
\table[[CRN,CREDIT HOU
Page
2
of 3
ZoOM
Sample Run 1(The user's keyboard try is marked in bold)
Enter the Student's Id: 5656
Enter crn/credit hours for the first class : 45874
Enter crn/credit hours for the second class: 45993
Enter the gpa of student 5656:2.3
(258 discount is not applicable)
Thank you!
HERE IS THE FEE INVOICE...
SIMPLE COLLEGE
ORLANDO FL 10101
Fee Invoice Prepared for:
[Student: 5656]
1 Credit Hour =$120.25
\table[[CRN,CREDIT HOURS,],[4587,4,$481.00RS,],[4587,4,$481.00
image text in transcribed

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

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions