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

  Documentation and proper design procedures

Determine the main reason that make many developers skip over the documentation and proper design process? As a manager, discuss how do you ensure that the proper database design process are followed by database development teams?

  Implement a queue as a circular array

Implement a queue as a circular array as follows: Use two index variables head and tail that contain the index of the next element to be removed and the next element to be added.

  Write down a program which explores the seating patterns

write a program that explores the seating patterns related to course performance by using an array of student scores.

  Write operations for binary file operations

C++: templates, char arrays and their null terminated representation, sizeof operator, seekp, seekg, read and write operations for binary file operations, eof() function, proper opening and closing of files with different arguments, code to proces..

  Creating flowchart to compute and print the total sale

A coorporation's salesman are selling toothpaste and tooth powder. The corporation having fifty salesman gives 10% commission on the sale of toothpaste and 20 percent commission on tooth powder.

  Create algorithm which will prompt for-accept four numbers

Create an algorithm which will prompt for and accept four numbers, sort them into ascending sequence and display them to the screen. Your algorithm is to include a module

  Construct the arraylisttype class

objective will be to construct your first list data structure using an array.

  Write true if the statement is true or false

It is impossible to over-train a multi-layer feed-forward network using the back-propagation learning algorithm. It is guaranteed that the longer you train your system, the more accurate it will perform.

  Explaining view of header and footer areas of worksheet

In which view can you see header and footer areas of worksheet?

  Time sharing operating system

Assume a time sharing operating system allocated time slices of twenty milliseconds and the machine executed an average of 5000 instructions per microsecond.

  Algorithm to keep track of sufficient information

Your algorithm must keep track of sufficient information so that, for any computer Cb it is possible to retrieve in O(n) time a sequence of communications by which Cb could have become infected.

  1decryption speeda certain cryptography vendor was

1.decryption speeda certain cryptography vendor was providing an encryption technology that was breakable within 10

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