
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
while(1)
{
float credit_hour,lab,total_cost,lab_fee,total_payment;
char dist,status;
cout<<"\nEnter the number of credit hours: ";
cin>>credit_hour;
cout<<"Enter the number of lab courses: ";
cin>>lab;
cout<<"Is the student \"in district\" (y or n): ";
cin>>dist;
if(dist=='y' ||dist=='Y')
{
total_cost=credit_hour*70;
}
else
{
total_cost=credit_hour*255.54;
}
lab_fee=lab*85;
cout << fixed;
cout << setprecision(2);
cout<<"Total costs: "<<total_cost<<endl;
cout<<"Lab fee: "<<lab_fee<<endl;
total_payment=lab_fee+total_cost;
cout<<"Your total payment is:
"<<total_payment<<endl;
cout<<"Would you like to continue (Y or N): ";
cin>>status;
if(status=='y' ||status=='Y')
continue;
else
break;
}
}
Tuition Payment In C++, Write a program that will calculate the total college costs for a...
A small private college offers online courses and wants you to develop a C program that calculates total tuition and fees for their students. User will input the number of hours; the program should calculate the total cost. For full-times students taking greater than 15 hours of courses, the fees per credit hour is $44.50. For part-time students taking 15 hours or less, the fees per credit hour is $67.50. In-state tuition is $1250.00 and Out-of-statetuition is $2476.80. Modularize the...
c++ Write a program that computes and displays the tuition for courses offered at the University. First, the program should ask if the student has registered for a regular course or a course with a lab component. The user can enter the letter 'C' or 'c' for lecture course only, or the letter 'L' or 'l' for a laboratory course . Write a function called Menu, which takes no input parameters and returns a char value. Your main program will...
Each semester, California students enrolling at Stanford College must pay tuition costs of $170 per credit, as well as $140 student services fees. a) Write a linear function that gives the total cost y to be paid by a student taking x credito at Stanford College. b) Use this linear a student taking function to find 15 credits at the cost Stanford of College. c) If Bob could only afford to pay $1500 a semester, then how many credits could...
Description. A university calculates tuition based on student classifications. Resident undergraduate students (living in state) pay a set amount per credit for 12 or fewer credits and pay 75% of set amount per credit for all additional credits. Non-resident undergraduate students (living out of state) pay $5,000 plus 80% of the set amount for all credits taken. Graduate students pay $9,500 per semester regardless of the number of credits taken. Alumni returning to the university are allowed to audit a...
1- Assume tuition is based on the number of credit hours up to a point of being a full-time student. If a student takes 12 credit hours per semester and pays $18,000, then decides to take an additional 3 credit hour course, tuition cost is the same - $18,000. In this case, your marginal cost of taking the additional course is? 2- You invest $500 into an interest-bearing account with a nominal interest rate of 8%, compounded quarterly. In this...
The director of a local grad school program wants your help to calculate the break-even number of students for a 7 quarter long program. Here is the Data Total Tuition per student = $60,000 Variable Cost per student = $8,000 Administrative Overhead = $1,000,000 Faculty Cost = $25,000 per quarter A) What is Qee ? B) the faculty wants a 20% raise. If the Director wants Qee to remain the same , and she can only change V, what must...
The homework assignment is to write a fee invoice using C. It
must follow the guidelines posted in the question and run as the
sample run given. Here is the question and sample run below
Please read the sample runs carefully as this is quite different
from the previous projects. In this project, the student can take
as many courses as permitted. The list of courses to take are
listed below. This time there is no restriction on the total...
Problem Specification:Write a C++ program to calculate student’s GPA for the semester in your class. For each student,the program should accept a student’s name, ID number and the number of courses he/she istaking, then for each course the following data is needed the course number a string e.g. BU 101 course credits “an integer” grade received for the course “a character”.The program should display each student’s information and their courses information. It shouldalso display the GPA for the semester. The...
In python 3, 1. Write a program that takes a number of credit hours and returns a classification as follows: 29 credits or less: freshman; 30-59 credits: sophomore; 60-89 credits: junior; 90+ credits: senior. 2. Use a loop to valid input such that users can only enter positive numbers. 3. Use a loop to allow the user to keep entering credit hours and receiving classifications until they quit. All code must be in a function. I suggest the following structure:...
using C# Write a program which calculates student grades for multiple assignments as well as the per-assignment average. The user should first input the total number of assignments. Then, the user should enter the name of a student as well as a grade for each assignment. After entering the student the user should be asked to enter "Y" if there are more students to enter or "N" if there is not ("N" by default). The user should be able to...