Question: write a 2-part program using Ruby, Java, or Python. Part 1: Write a function to gather the following costs from the user: Travel Cost: $9,800
write a 2-part program using Ruby, Java, or Python.
Part 1: Write a function to gather the following costs from the user:
Travel Cost: $9,800
Hotel Cost: $3,500
Rental Car Cost: $1,600
Labor Cost: $15,500
Part 2: Write a function to convert the costs from United States dollar (USD) to Australian dollar (AUD). Note: Look up the current USD to AUD exchange rate to use in your function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
