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

  Write down a pseudocode version of the smart bubble sort

question a write a pseudocode version of the smart bubble sort algorithm.question b perform a smart bubble sort on the

  Algorithm for string of numbers recognize all the substrings

Write down algorithm, using pseudocode, to perform the following task, Given a string of numbers, recognize all of the substrings that form numbers that are divisible by 3.

  Write the implementation of a data structure

Write an implementation of a data structure S that supports the following operations: Insert(S, x): insert the key x into S only if it is not already there.

  A[0..n-1] and b[0...n-1] are sorted arrays

A[0..n-1] and B[0...n-1] are sorted arrays where each contains n numbers. Design an O(n*log(n)) algorithm to find the median of all elements in arrays X and Y.

  System analystis you are required to analyse the

you are required to analyse the effectiveness of the qantas online air ticketing system. to do this you are required to

  Creating the flowchart for the decision structure

A telephone corporation service plan charges twenty-five cents for each call made. In addition, it charges five cents a minute for all calls made to a phone number that has a service plan with the corporation.

  In addition make a flow-chart to show how to sort using one

there are many additional algorithms available. choose 2 sorting and 2 searching algorithms and describe them in

  What is a control statement there are several types of

control statementswhat is a control statement? there are several types of control statements define two control

  Database design process

A college course may have one or more scheduled sections, or may not have a scheduled section. Attributes of COURSE include Course_ID, Course_Name, and Units.

  Create efficient algorithm to find path in graph

Given connected undirected graph G described by the adjacency list representation create the efficient algorithm to find the path in G which goes through exactly once in each direction.

  Evaluate algebraic expression by code with three-operand

Evaluate a short algebraic expression using code with three-operand instructions. The expression should have a minimum of three operands and 2 operators.

  Question about data network

The Minnesota Computer Consulting Group is a fifty person consulting services practice focusing on telecommunications and systems administration that includes Minnesota offices in Minneapolis, St. Paul, and Rochester.

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