Write a function to gather the following costs from the user

Assignment Help Computer Engineering
Reference no: EM132501042

Assignment: 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 (Validation codes for User input checking are required):

• 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.

Reference no: EM132501042

Questions Cloud

Research transfer pricing problems : Assess the major potential problems that a multinational firm could encounter when using negotiated transfer pricing instead of market-based transfer
What rate of return does each bond offer over the 5-year : A 30-year maturity bond has a 5.6% coupon rate, paid annually. It sells today for $876.17. A 20-year maturity bond has 5.1% coupon rate, also paid annually.
How waste audits have helped companies save money : Give one example from industry of how waste audits have helped companies save money while becoming more environmentally friendly
Compute the cost assigned to ending inventory in the forging : Prepare the summary journal entry required to transfer units from the Assembly Department to Finished Goods Inventory during July.
Write a function to gather the following costs from the user : Write a function to gather the following costs from the user (Validation codes for User input checking are required): Travel Cost: $9,800, Hotel Cost: $3,500.
Evaluating two different steel bending machines : A company is evaluating two different steel bending machines using its WACC of 7.5%. Machine A costs $320,000, has a three-year life
Develop a pool game for ipad using spritekit : 2D 8 ball pool is a call shot game played with a cue ball and 15 other balls. You can play against computer (Computer vs Player) or with another player.
What will my quarterly payment be for each dollar borrowed : The bank advertises a mortgage amortized over 30 years for 5% compounded quarterly.
What are mean and standard deviation of uniform distribution : Based on historical data, sales for a particular cosmetic line follow a continuous uniform distribution with a lower limit of $2,500 and an upper limit.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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