Write a function to convert the costs

Assignment Help Programming Languages
Reference no: EM132235435

Question: Your software company was invited to provide a proposal for a company in Australia. You currently have the cost in US dollars and need to convert the prices to the Australian dollar.

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.

Test the program 3 times by providing different costs in USD.

Provide the code and take a screenshot of the output, then paste the screenshot(s) into a Microsoft® Word document.

Write a half-page response in the same Microsoft® Word document to address the following:

• Provide a manual for the user explaining how to use the program.

• Explain what type of user input validations you should have. What happens if the user enters a negative number? What happens if the user puts a $ in the input?

Review the readings for this week from Ruby on Rails Tutorial or the Pluralsight videos if you have additional questions on deploying Ruby applications.

Submit your document.

Reference no: EM132235435

Questions Cloud

Describe the roles of four key stakeholders in an e-learning : List and discuss at least three factors that affect interaction among students and between students and the instructor in an e-Learning class.
Discuss qualitative methodology in brief : Quantitative data can be measured and documented with numbers. Additionally, quantitative data can be represented as quantities. On the other hand, qualitative.
How market basket analysis is used by companies : Please provide an example of how market basket analysis is used by companies and discuss market basket analysis. What is the value of it?
What is food insecurity : What factors specifically interrupt the flow of food from the source to the people in the developing country you selected?
Write a function to convert the costs : 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.
Evaluate the role played by politicians : Evaluate the role played by politicians, bureaucrats and interest groups and use a diagram where applicable, as some analysts are of the opinion that government
Skew distribution of income lead by a market economy : How should government respond to a skew distribution of income lead by a market economy?
What are soul building evils according to sober : What are "soul building evils" according to Sober? How are they supposed to solve the problem of evil?
Define identification of the software assurance needs : The briefing should include each of the following items: Identification of the software assurance needs and expectations of the organization.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd