Prepare a currency conversion design

Assignment Help Data Structure & Algorithms
Reference no: EM13477824

Currency Conversion Design Pseudocode

Program Pseudocode:

Start Main MODULE

Declare option = 0;

Declare value = 0;

Declare converted = 0;

Display(" Currency Convertor ");

Menu_Module();

Display("Enter choice:");

Get option;

Display("Enter the amount:");

Get value;

if ( option := 1), then

            Convert_Currency Module(option,value);

else if (option := 2), then

Convert_Currency Module(option,value);

else if ( option := 3), then

Convert_Currency Module(option,value);

else if ( option := 4), then

Convert_Currency Module(option,value);

else if ( option := 5), then

Convert_Currency Module(option,value);

else

            Display("Wrong Menu Selection");

End If

END Main MODULE

Start Menu_Module

Display("1. Canadian dollars to US dollars");

Display("2. Mexican pesos to US dollars");

Display("3. English pounds to US dollars");

Display("4. Japanese yen to US dollars");

Display("5. French francs to US dollars");

End Menu Module

Start Convert_Currency Module(option,value)

if ( option := 1), then

            converted := value * (0.93);

            Display_Results Module(converted,value);

else if (option := 2), then

            converted := value * (0.077);

            Display_Results Module(converted,value);

 

else if ( option := 3), then

            converted := value * (1.71);

            Display_Results Module(converted,value);

 

else if ( option := 4), then

            converted := value * (0.0099);

            Display_Results Module(converted,value);

else if ( option := 5), then

            converted := value * (1.11);

            Display_Results Module(converted,value);

else

            Display("Wrong Menu Selection");

End If

End Convert_Currency Module

Start Display_Results Module(converted,value)

Display("Entered Value:",value);

Display("US dollar equivalent:",converted);

END Display_Results Module

Reference no: EM13477824

Questions Cloud

The average annual return on an index from 1996 to 2005 was : the average annual return on an index from 1996 to 2005 was 13.20 percent. the average annual t-bill yield during the
Assume that you are financial advisor to a business : 1. assume that you are financial advisor to a business. describe the advice that you would give to the client for
History and background of the practice historical practices : you are to select a practice within human services e.g. evidence-based practice drug treatment practices use of
Fred and mary are contemplating a family gifting program of : 1. under the current arrangements which of the following is fred able to change without probate court involvement if
Prepare a currency conversion design : currency conversion design pseudocodeprogram pseudocodestart main moduledeclare option 0declare value 0declare
Explain what happens to the standard error of the mean if : answer the following questions in one or two well-constructed sentences.a. what happens to the standard error of the
Which of the following processes of chemical substances via : question 11. which heavy metal and its salts are a well-known cause of contact
What can we state regarding the shape of the distribution : cra cdsinc. wants the mean lengths of the cuts on a cd to be 135 seconds 2 min and 15 sec. this will allow the disk
Describe all assumptions seen in any of documents provided : prepare a report for the ceo of acuscan about the situation described in the gen 480 critical thinking case study. your

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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