Preview

Assignment: Currency Conversion Design

Satisfactory Essays
Open Document
Open Document
665 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Assignment: Currency Conversion Design
Assignment: Currency Conversion Design

Currency Conversion Design

Analysis

Process:

1. Display Menu
2. Get Foreign Value
3. Convert Currency
4. Display Results

Input:

1. Currency Type (integer: Currency Type)
2. International Value (real: International Value)
3. U.S. Value (real: U.S. Value)

Output:

1. Currency Type (integer: Currency Type) 2. International Value (real: International Value) 3. U.S. Value (real: U.S. Value)

Input-Process-Output Chart
Input Process Output
Name:
Type:
Range:

Display Menu Name:
Type:
Range: Currency Type
Integer
1-6

Name:
Type:
Range: International Value
Real
0-1,000,000 Get Foreign Value Name:
Type:
Range: International Value
Real
0-1,000,000

Name:
Type:
Range:

Name:
Type:
Range: International Value
Real
0-1,000,000

Currency Type
Integer
1-6 Convert Currency Name:
Type:
Range: US Value
Real
> 0
Name:
Type:
Range:

Name:
Type:
Range:

Name:
Type:
Range:

Currency Type
Integer
1-6

International Value
Real
0-1,000,000

US Value
Real
> 0 Display Results Name:
Type:
Range:

Name:
Type:
Range:

Name:
Type:
Range: Currency Type
Integer
1-6

International Value
Real
0-1,000,000

US Value
Real
> 0

Design

Hierarchy Chart

Flowcharts

Control Flow Diagram—Main Control

Control Flow Diagram—Display Menu

Control Flow Diagram—Get_Int_Value

Control Flow Diagram—Convert Currency

Control Flow Diagram—Display_Results

Pseudocode

Main program

Declare selection as integer Declare currency Type as Integer Declare International Value as Real

You May Also Find These Documents Helpful

  • Good Essays

    MGT 370 Test 3

    • 368 Words
    • 2 Pages

    Question 6. 6. In its absolute form, the exchange rate determination theory of Purchasing Power Parity: (Points : 1)…

    • 368 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Business Math Unit 5

    • 704 Words
    • 3 Pages

    Joe figures that with overtime he will average 40 hours a week for 52 weeks a year. If his current wage is $15.00 per hour, how much will he make per year?…

    • 704 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Rate*Int_Value End Mexican ? Japanese ? French ? Rate = 1.4680 Canadian dollars = 1 U.S. dollar | Control Flow Diagram—Display_Results Mexican Mexican Japanese Japanese English English Begin Nation =…

    • 585 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    It 210 Appendix I

    • 623 Words
    • 3 Pages

    Axia College Material Appendix I Currency Conversion Development Assignment—Flowcharts Complete the flowcharts for the assignment above by typing into the textboxes below. Control Flow Diagram—Main Control [pic] Control Flow Diagram—Display Menu | | |[pic] | Control Flow Diagram—Get_Int_Value | | |[pic] | Control Flow Diagram—Convert Currency | | |[pic] | Control Flow Diagram—Display_Results |[pic] | PSEUDOCODE Main Module Declare Selection as an integer Declare CurrencyType as string Declare USDollar as real Declare ConvertedAmount as real Call Display/Selection Module Call Canadian Module Call Mexican Module Call English Module Call Japanese Module Call French Module Call Quit Module Call Output Module End Program…

    • 623 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    PT1420week5exdkinney

    • 404 Words
    • 2 Pages

    If you want to display your currency values to two decimal places with a dollar sign and commas when applicable you would use the Format() function. This returns a Variant (convertible to a String) data type formatted to look the way you need. Programmers would also use the strFormat function to format values. For example:…

    • 404 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It 210 Final Project

    • 733 Words
    • 3 Pages

    3. User data should be requested in clear and concise means. “Please Enter Amount of Foreign Currency (Whole amounts only please”…

    • 733 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Financial Project

    • 909 Words
    • 3 Pages

    After purchasing a home at $151,000 five years ago with a down payment of $30,000 and 5.75% fixed rate I consider methods to pay off the loan within 20 years instead of 25 years that remain. I would look at a number of possibilities.…

    • 909 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Financial Project

    • 1342 Words
    • 6 Pages

    Price/Earnings Ratio: The P/E ratio, one of the most important ratios to investors, relays to investors the relationship to dividends and the market price. Investors look for higher P/E ratios, but a rate that is too high could indicate that a stock is underpriced, but a rate that is too low could indicate that a stock is overprices.…

    • 1342 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Case 11-4 Functional Currency Determination — IFRS 2009: Sparkle Company is a Nigerian diamond mining company. (Nigerian currency is the Naira (NGN).) Sparkle is a joint venture, 50 percent owned by Shine and 50 percent owned by Brighten. Both Shine and Brighten are U.S.-based companies with US$ functional currency. This year, Sparkle had several transactions with its joint venture owners and outside parties. The details of Sparkle’s transactions are as follows: Loans    $1 million from Brighten. $1 million from Shine. NGN 300 million from a local bank.…

    • 435 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Financial Project

    • 363 Words
    • 2 Pages

    I thought paying extra on my mortgage would be a good idea, but after realizing that I wouldn’t have extra spending money I’m looking at refinancing options. I looked at several interest rates I’m going to use the annuity formula to determine what rate would be best for me. The calculations I would use is 30,794.68 = 822.84[1 - (1+r/12) ^ (-12*20)] / (r/12). My new rate will be = to 4.43% then I would lower the rate to the nearest quarter point which is 4.25%. My payments will be lowered to $809.93 with a new interest rate of 4.25% plus $2,000 up front in closing cost and that’s only if I meet the credit rating…

    • 363 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Students generate a set of test inputs and expected results for the Currency Conversion program.…

    • 360 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Assume that initially the economy is at the equilibrium level of output where aggregate demand equal to aggregate supply and this is shown diagrammatically below.…

    • 854 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Teamwork in Action

    • 301 Words
    • 2 Pages

    Fixed cost per unit decreases as the number of CDs sold rises and increases as this number falls.…

    • 301 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The local chapter of sales professionals in the greater San Francisco area wanted to assess relationships, if any, between differences in salary for inside and outside sales representatives, and years of experience. For the experiment 1-10 years was considered low, 11-20 medium, and 21+ high. 60 inside salesman and 60 outside salesman were interviewed, for a total of 120 observations.…

    • 560 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Mexican Peso Case Study

    • 978 Words
    • 4 Pages

    1. Take a look at Mexico’s balance of payments over the past few years. Use the schedule I have attached to the case – it is in the same format as we used to examine the U.S. balance of payments. What do the trade and current account balances suggest about the likelihood of a potential devaluation of the peso? Why?…

    • 978 Words
    • 4 Pages
    Good Essays