subject

Imagine you work in a travel agency. Your job is to give your customer an estimate of how much it would cost them to travel somewhere. The company your work for specializes in 2 continents (Europe and Asia). Three countries in Europe (France, Germany and Italy) and two in Asia (China and Japan).Using nested if-else statements, your program must ask the user where they are planning to travel. Once it figures it out, it should print out an estimated cost in US dollars (you may come up with the costs). Hint: Your first question may be something like "Which continent would you like to travel, Europe or Asia? Please enter ‘e’ for Europe or ‘a’ for Asia."Then, your second question (which should be in the second "layer" of if-else statements) should ask for the country. At the end, your program should print something like: "Nice, average cost of traveling to China is $1,800.00 per week" or anything alike; again, you are welcome to customize these messages and the costs.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
11. is the ability to understand how another person is feeling. a. authority b. sympathy c. empathy d. taking a stand
Answers: 1
question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
You know the right answer?
Imagine you work in a travel agency. Your job is to give your customer an estimate of how much it wo...
Questions
question
Mathematics, 04.03.2020 04:56
question
Mathematics, 04.03.2020 04:56
question
Mathematics, 04.03.2020 04:56
Questions on the website: 13722362