Question: I need help getting these outputs to turn out correctly. New to programming. #include #include using namespace std; int main ( ) { int numCredits
I need help getting these outputs to turn out correctly. New to programming.
#include
#include
using namespace std;
int main
int numCredits ;
char parkingOption ;
char numResidencyCode ;
double costTution ;
double totalBill ;
const double costParkingCharge ;
const double priceCounty ;
const double priceState ;
const double priceOutOfState;
assign rates
ifnumResidencyCode c
costTution priceCounty;
ifnumResidencyCode s
costTution priceState;
else ifnumResidencyCode o
costTution priceOutOfState;
calculate tution
cout "Enter the number of credits:";
cin numCredits;
cout "Enter the resisdency code ccountysstateoout of state:";
cin numResidencyCode;
numResidencyCode touppernumResidencyCode;
cout "Enter the parking option yn:;
cin parkingOption;
ifparkingOption y
costTution costTution costParkingCharge;
else ifparkingOption n
costTution totalBill;
cout fixed setprecision;
cout "Total bill: $ totalBill endl;
cout endl "Tuition Bill" setw endl;
cout "Number of Credits:" setw numCredits endl;
cout "Tuition Cost:" setw costTution endl;
cout "Parking Charge:" setw costParkingCharge endl;
cout "Total Bill:" setw totalBill endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
