Question

Create an application that calculates the registration fees for a conference. The general conference registration fee...

Create an application that calculates the registration fees for a conference. The general conference registration fee is $895 per person, and student registration is $495 per person. There is also an optional opening night dinner with a keynote speech for $30 per person.

In addition, the optional preconference workshops listed are available.

Workshop Fee

Introduction to E-commerce $295

The Future of the Web $295

Advanced Java Programming $395

Network Security $395

0 0
Add a comment Improve this question Transcribed image text
Answer #1

#include <iostream>
#include <string>
using namespace std;
void menu(){ // FOR SPEECH
cout<<"1. opening night dinner with a keynote speech (Optional) 30$ "<<endl;
}
void workshopMenu(){ // WORKSHOP MENU
cout<<"1. Introduction to E-commerce ($295)"<<endl;
cout<<"2. The Future of the Web ($295)"<<endl;
cout<<"3. Advanced Java Programming ($395)"<<endl;
cout<<"4. Network Security ($395)"<<endl;
cout<<"5. Exit"<<endl;
cout<<endl;
}
int main() {
char who;
int choice1;
int choice;
cout<<"S is for Student: "<<endl;
cout<<"P is for Person: "<<endl;
cout<<"Enter your choice (S or P): ";
cin>>who;
double cost;
if(who=='S'){ // IF STUDENT TICKET IS 495
cost=495;
}
else{ // OTHER WISE 895
cost=895;
}
menu();
cout<<"enter choice (1 or 0): ";
cin>>choice;
if(choice==1){ // IF SPEECH
cost=cost+30;
}
else{ // NO SPEECH
cost=cost;
}
while(choice!=5){
workshopMenu();
cout<<"Enter choice: ";
cin>>choice1;
if(choice1==1){ //IF E-commerce
cost=cost+295;
}
else if(choice1==2){ // IF Future OF WEB
cost=cost+295;
}
else if(choice1==3){ // IF JAVA
cost=cost+395;
}
else if(choice1==4){ // IF NETWORK & sEC
cost=cost+395;
}
else{
break;
}
}
// GET TOTAL COST
cout<<"Total cost is: "<<cost<<endl;
}

OUTPUT:

IF YOU HAVE ANY QUERY PLEASE COMMENT DOWN BELOW

PLEASE GIVE A THUMBS UP

Add a comment
Know the answer?
Add Answer to:
Create an application that calculates the registration fees for a conference. The general conference registration fee...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • visual studio please all the infirmation is in 3 pictures that ive already submited Programming Challenges...

    visual studio please all the infirmation is in 3 pictures that ive already submited Programming Challenges 1. Conference Registration System Create an application that calculates the registration fees for a conference. The gen- eral conference registration fee is $895 per person. There is also an optional opening! night dinner with a keynote address for $30 per person. Additionally, the optional preconference workshops listed in Table 7-3 are available. Table 7-3 Optional preconference workshops Workshop Free Introduction to E-commerce $295 The...

  • In Java: Create a GUI application that calculates the registration fees for a one-week summer camp....

    In Java: Create a GUI application that calculates the registration fees for a one-week summer camp. The general summer camp registration fee is $895 per person, but multiple children from the same family (after the first) are allowed a $200 discount. There is a lavish closing banquet, with awards for their children, which parents may attend for $25 (each). As many other optional pre- and post-activity sessions may be added (for indicated fee), thanks to scheduling them in exclusive time...

  • visual studio Figure 7-64 Conference Options form Pendence Workshops Cordero Sale One E-commerce The Free Web...

    visual studio Figure 7-64 Conference Options form Pendence Workshops Cordero Sale One E-commerce The Free Web ed Band M The Conference Options form allows the user to select the regular conference regis- tration, the optional opening night dinner, and an optional preconference work- shop. (The user cannot register for the optional events, however, without selecting the conference registration of $895.) When the Close button is clicked, this form should be removed from the screen and the total registration fee should...

  • Travel Expenses Create a GUI in C# Visual Studios application that calculates and displays the total...

    Travel Expenses Create a GUI in C# Visual Studios application that calculates and displays the total travel expenses of a business person on a trip. Here is the information that the user must provide: • Number of days on the trip • Amount of airfare, if any • Amount of car rental fees, if any • Number of miles driven, if a private vehicle was used • Amount of parking fees, if any • Amount of taxi charges, if any...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT