Part 1 – Greeting First you’ll want to greet your user and ask them...

Выполнен
Заказ
5030931
Раздел
Программирование
Предмет
Антиплагиат
70% eTXT
Срок сдачи
11 Ноя 2022 в 00:00
Цена
0 ₽
Блокировка
10 дней
Размещен
7 Ноя 2022 в 22:40
Просмотров
17
Описание работы
Part 1 – Greeting
First you’ll want to greet your user and ask them their name. As you can see above the user types their response ON THE SAME LINE as the question. To do this you’ll want to use a System.out.print() statement instead of a System.out.println() statement. Once you have their name use it to greet your user, and then ask them where they would like to go. Finally tell you user their destination sounds like a great trip! All the code to accomplish Part 1 should be in its own method.
HINT: Some names and destinations are more than 1 word! Plan accordingly.
Part 2 – Travel time and Budget
For this part, you’ll want to ask the user about how much time and money they are budgeting for their trip. Ask the user:
1. How many days are they going to spend in their destination?
2. What is their total budget for the trip in USD?
3. What is the currency symbol for their destination? For example, the us dollar’s is USD, the euro’s is EU
etc...
4. The conversion rate between 1 USD to however many of that destinations currency. For example, there
are 0.9 euro to 1 usd, so the user would type in 0.9
Once you have all this info (stored in the correct variables),
Нужна такая же работа?
  • Разместите заказ
  • Выберите исполнителя
  • Получите результат
Гарантия на работу 1 год
Средний балл 4.96
Стоимость Назначаете сами
Эксперт Выбираете сами
Уникальность работы от 70%
Время выполнения заказа:
1 день 16 часов 20 минут
Выполнен в срок
Отзыв о выполненном заказе
Нужна аналогичная работа?
Оформи быстрый заказ и узнай стоимость
Гарантированные бесплатные доработки
Быстрое выполнение от 2 часов
Проверка работы на плагиат
Темы журнала
Показать ещё
Прямой эфир