Functional programing

Assignment Help Basic Computer Science
Reference no: EM132517349

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: EM132517349

Questions Cloud

Concept of subjectivity in existentialism : Explain the two fold meaning of the concept of 'subjectivity' in existentialism
Determine what is the manufacturing cost per unit : $1.00 of direct labor and $.50 of variable overhead. If Bungalow Industries uses absorption costing, what is the manufacturing cost per unit?
Sustainability performance of the case study : Analyse the sustainability performance of the case study organisations' supply chain - Prepare a consultancy report based on the case study information
What level of sales for the two-month period : At what level of sales (in litres) for the two-month period should Nicholas Company be indifferent between closing the plant and keeping it open?
Functional programing : Your software company was invited to provide a proposal for a company in Australia. Write a 2-part program using Ruby, Java®, or Python.
Agree with emmanuel levinas : Do you agree with Emmanuel Levinas when he says that ethics "manifests itself as a continuous obligation to others"? Why/Why not.
Calculate the net increase or decrease in profits next year : Find How much will profits increase or decrease from what they would be if the 5,000 Lops were sold through regular channels?
How social institutions and the organization of society : How social institutions and the organization of society influence what we feel and what our options are regarding that institution - what their power
What aristotle conception of friendship : What was Aristotle's conception of friendship the different kinds of friendship

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Important in environmental policy

Why environmental justice issue is important in environmental policy? What measures can be taken to ensure that?

  Compare ipv4 and ipv6 private addressing

What is a Distributed Hash Table (DHT) and how is it used in P2P networks? Briefly explain how a DHT works with an example of a P2P network.

  Wireless network security

Prepare a power point for the same above paper on the topic" Wireless Network Security".

  Is this papers account of benefits of xbrl similar

The deliverable is a two to three page paper that includes a brief summary of this material, and consideration of the following idea. Is this paper's account of benefits of XBRL similar to the book's.

  Explain hardware to gather the essential information

Write down a 2-3 page paper explaining the hardware and software utilized to support personal, workgroup, and enterprise computing in the present organization.

  Information system to support the business

As a part of the final project for this course you will be doing research for a medium size (approximately 200 employees) widget manufacturing company to do a complete evaluation of their computer needs and make recommendations to them about an in..

  Should you set in ta1ctl, and what corresponding

Which bits (including divisor bits) should you set in TA1CTL, and what corresponding countshould you set in TA1CCR0, to trigger an interrupt every 400 msec?

  How much would you expect the premium to be

If the insurance company uses expected value to calculate premiums, then how much would you expect the premium to be, assuming the insurance company adds on $300 for handling and profit?

  Can the profit-maximizing monopolist produce an output

Can the profit-maximizing monopolist produce an output that lies in the inelastic portion of the linear demand curve it faces? Why or why not?

  Use the smallest possible array to solve this problem

Use the smallest possible array to solve this problem. Display the complete set of unique value input after the user inputs each new value.

  What stage of the business cycle

What stage of the business cycle is the U.S. economy currently in given the trend of GDP growth?

  Memory location in the computer system

When the operating system writes an error the information is usually stored in a memory location in the computer system. Describe how the error information is retrieved and stored?

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