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, 21.06.2019 23:30
Step 1: choose your topics review the project milestone reflections you submitted for modules 1 through 4. choose the one major idea or concept from each module that you feel most applies to your life. in addition, choose an important concept from module 5 that applies to your life. step 2: write your guidebook for each module: write a catchy headline that clearly and concisely sums up your chosen idea or concept write a brief explanation that includes a description of the concept, why it is important, and how it can be applied to your life to make a positive impact choose an exciting, powerful, or engaging image that illustrates your concept remember, you are writing one for each module, so you will have a total of five headlines, five descriptions, and five images. step 3: design your guidebook choose a format to present your digital guidebook. there are many 21st century tools available for creating and submitting your work in the online environment. for more information on tools your school uses, contact your instructor or visit the web 2.0 tools area.
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
question
Computers and Technology, 23.06.2019 23:00
How do you know if the website is secure if you make a purchase
Answers: 2
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, 23.11.2020 07:50
question
Mathematics, 23.11.2020 07:50
question
Mathematics, 23.11.2020 07:50
question
Social Studies, 23.11.2020 07:50
question
Mathematics, 23.11.2020 08:00
question
Mathematics, 23.11.2020 08:00
question
Mathematics, 23.11.2020 08:00
question
English, 23.11.2020 08:00
Questions on the website: 13722359