This website uses cookies to ensure you have the best experience. Learn more

Nice One Essay

574 words - 3 pages

Advance C++ |
First Assignment |
Harvey Bernaldez |

Code Syntax
#include<iostream.h>
#include<conio.h>
void main(){
int fare, menu, price, type, quantity, cash, change, total, trip;
cout<<"***********************"<<endl;
cout<<"Zest Airlines - Domestic Flight"<<endl;
cout<<"***********************"<<endl;
cout<<"[1]One Way Trip"<<endl;
cout<<"[2]Round Trip(Less 15%)"<<endl;
cout<<endl;
cout<<"Select Trip:";
cin>>trip;
cout<<endl;
cout<<"List of destination"<<endl;
cout<<"[1] Manila to Legazpi - P998"<<endl;
cout<<"[2] Manila to Marinduque - P1,088"<<endl;
cout<<"[3] Manila to Tables(Romblon) - P1,198"<<endl;
cout<<"[4] Manila to ...view middle of the document...

30;
cout<<price;}
else if (type==3)
{price=price-price*0.20;
cout<<price;}
else if (type==4)
{price=price-price*0.20;
cout<<price;}

cout<<endl<<"Enter Quantity: "<<endl;
cin>>quantity;
total=quantity*price;

if (trip==2)
total=total*2-total*2*.15;

cout<<"The Total is: "<<total;
cout<<endl<<"Enter cash: ";
cin>>cash;
change=cash-total;
cout<<endl<<"Your change is: "<<change;

}

Screen Output

Other assignments on Nice One

Up A Ladder Essay

329 words - 2 pages independent contractor, for different cable companies is something that I fell into. Although I have made plenty of money over the years, there are no real benefits to being independent. As I have become older, I have realized that, while I make a nice living, there will be no pension waiting for me since I do not work directly for any one company. Another down fall of being independent is, finding a good contract is becoming more and more difficult

Short Story Essay

329 words - 2 pages Subject: Short story Title: Sympathy pays off A poor boy used to work in a big restaurant. He was really kind and generous. He always helped the poor even thought he was poor himself. His name was Raven. One day, he accidentally slips a plate from his hand. The manager of that restaurant was a very bad man. He hated Raven because the owner of the restaurant was very fond of raven. When he saw the plate slip from his hand, he saw

Why Bother Making Your Own Cleaning Products?

522 words - 3 pages Why bother making cleaning products, you may ask? For one thing, it’s a very inexpensive idea of using common items you probably already have in your pantry. These recipes are easy to assemble and make cleaning more pleasurable by not having to deal with harsh fumes and nasty chemicals. I just can't tolerate those old cleaners anymore. It’s amazing how really well they work. They are especially nice when you have little children who want to

Management Paper

285 words - 2 pages In Hiring, a Friend in Need Is a Prospect, Indeed I chose to read the article title, “In Hiring, a Friend in Need Is a Prospect, Indeed” written by Nelson D. Schwartz. This article uncovers a secret that many of the job applicants are not aware of: The best way to get a job is to not file job applications through one of those big job recruiters. Instead, organizations appear to prefer to hire people through internal referrals. Your chances of

Business Major

539 words - 3 pages opportunity that might be best for and family.  I had a new opportunity presented to me that would pay a lot more, and gave me a chance to move up from the position I was in. I could move up in the company. It was in a very nice area with a nice neighborhood for my children to grow up in and a lot of opportunities we may not have living where we do now. But it was in another state. Even though I had a lot of positives that came

Religious Philosophy Article Critique

777 words - 4 pages all they know. Our faith should have an effect on how we treat others, because being nice to people is some times a trial in itself. We learn from those trials and those trials build our character. I do believe that humble generosity exists in this world today. Humbleness is not a weakness, it is a strength, and one who is not humbled because of the things that are happening around them will not learn that valuable lesson that needs to be

Nanogene Case

430 words - 2 pages . Don Rupert: the head of AMSL. Mark Masterson: scientist-covered most of the key technology Ravi Rhoota: scientist-covered one key technology Gary Garfield: scientist I agree that the team does not look nice enough if I am the VC. They have too many people are skilled in the same fields. They do not really have anyone who can serve as managing role in this situation. The number of cofounder is not an issue for me. Their experience and skill in

Strange Fruit

396 words - 2 pages racism within the legal system becomes more apparent because of these Lynching eventually evolved into a punishment for incorrect social behavior. I would feel real bad for anyone who sneezed in the direction of a white man. This sounds really bizarre for whites to lynch blacks over the simplest things. It is nice to see that there were whites who would sympathize with African Americans. They understood that blacks needed civil participation

Mentoring

368 words - 2 pages times in our lives when we become disappointed and unsure of our goals. During this, its nice to have a Mentor by your side, someone who you can talk to and inspire. During those times when everything around you seems to be going wrong, I will inspire them to fight back with better elf confidence. Mentors are people who can motivate and guide you through life’s challenges. Good mentors are respected by their mentees. A mentee can learn a lot

Bohemians And Czechs Research

360 words - 2 pages believe in So... US seemed nice because it offered free land, more opportunities and you could quickly get out of fighting in wars Emigration was not easy after the revolution that caused Habsburg Empire to fall Was known for beautiful work in glass Made first non-lead glass called potash Was famous for its work with crystal In second half of 19th century started to trade their glass masterpiece peasants were serfs of noble families

Test Paper

455 words - 2 pages $158.88 from her friend, Julia would be able to pay her friend for the time spent per game helping with the food booth. 3. A major uncertainty that could play a factor in Julia’s analysis in weather. Weather is always un- predictable and it could be sunny one day and raining the next. If the weather is rainy, there may not be as big of a crowd as there is on a nice day. The weather might also be too cold or too hot and game patrons may not want to eat before and during half time.

Similar Documents

The Best Gift Essay

431 words - 2 pages Gifts Gift is defined as the transfer of something from a one to another person without the expectation of a payment from the receiver. The idea of gifts is to make others happier or to erase sadness from their face. This essay will include the reasons of giving a gift, the anniversaries that’s required a gift and how I felt about a gift that I received. First, gifts are a wonderful thing. It makes relationships get fonder and ease the

Ecole Essay

818 words - 4 pages all, throughout the short story, Phoenix Jackson gets treated properly by some people in the society, even white people. The first example of this is when we first see the white hunter when Phoenix Jackson walks in the wood.“ He lifted her up, gave her a swing in the air, and set her down. “Anything broken, Granny?” ’’(Page 4). This passage of the story clearly show the readers that there are nice people in the society, because when someone is on

Yonah Essay

508 words - 3 pages Hashem everything and helped me be nice to people and respect them. We met in Camp Morasha about 5 years ago and it was time for shiria which is a singing competition in the camp between girls and boys. I love to sing so i wanted to go try out for a solo and he was running tryouts. So when i song to him he took me on the side he said you have the most amazing voice and my face just lit up. He is so nice, not only me but everyone he talks too he

Disney Essay

523 words - 3 pages of the Disney employees did not make very much. For example; “Custodians make $23,000.00 a year and Attendants make only $14,000.00 a year.” But, the cost of a “one bedroom apartment was $1,400.00 a month.” So, it would benefit the employees to have SunCal build affordable places to live. But, on the other hand Disney makes their stand too. By building on property that was deemed to be set aside for later projects, it would not be a good