Pseudocode For The Currency Conversion Program Design
Pseudocode Examples. An algorithm is a procedure for solving a problem in terms of the actions to be executed. An algorithm is merely the. The steps are normally sequence,. In C, sequence statements are imperatives. The selection is the if then else. Pseudocode For The Currency Conversion Program Design' title='Pseudocode For The Currency Conversion Program Design' />View Notes currencyconversiondesign from CIS 123 at Grand Rapids Community College. Program Pseudocode Start Main MODULE Declare option 0 Declare value 0. Complete the hierarchy chart in Appendix H and the flowcharts in Appendix I, based on the Currency Conversion program requirements and the. Individual Currency Conversion Design. Currency Conversion program. Develop the pseudocode for the program design. Pseudocode is an artificial and informal language that helps programmers develop. Pseudocode is a text based detail algorithmic design tool. The rules of Pseudocode are reasonably straightforward. All statements showing. These include while, do, for, if, switch. Examples below. will illustrate this notion. If students grade is greater than or equal to 6. Set total to zero. Set grade counter to one. Free Essays on Currency Conversion Design Complete The Hierarchy Chart In Appendix h And The Flowcharts In Appendix i for students. While grade counter is less than or equal to ten Add the grade into the total. Set the class average to the total divided by ten. Print the class average. Initialize total to zero. Initialize counter to zero. Input the first grade. Some Keywords That Should be Used. For looping and selection, The keywords that are to be used include Do. While. End. Do Do Until. Enddo Case. End. Case If. Endif Call. Call Return. Return When Always use scope. As verbs, use the words Generate, Compute, Process, etc. Words such as. set, reset, increment, compute, calculate, add, sum, multiply,. How To File In Small Claims Court In Tarrant County there. Cara Mudah Edit Foto Menggunakan Photoshop on this page. Do not include data declarations in your pseudocode. Currency Conversion Project Help Please I have to write a currency conversion program. It has to include application level requirements, ipo chart, hierarchy chart, flowcharts, pseudocode and test cases. I have the application level requirements, and the flowchart and pseudocode. I need help with an ipo chart, hierarchy chart, and test cases. Here is my pseudocode Psuedocode Main Module Declare selection as integer Declare currency. Type as Integer Declare international. Value as real Declare USValue as real Do While user wants to continue Display Menu Get International Value Convert Currency Display Results End loop Print exit message End Main Module Display Menu Declare continue as Boolean Set continue true While continue true Display Welcome to the international currency conversion program Display Please make a selection Display International Currency Types Display 1 Canadian Dollars Display 2 Mexican Pesos Display 3 English Pounds Display 4 Japanese Yen Display 5 French Francs Display 6 Quit Display Enter a selection Input currency. Type If currency. Type 1 AND currency. Type lt 5 then Set continue false else if currency. How To Install En Focus Pitstop Pro 10'>How To Install En Focus Pitstop Pro 10. Type 6 Display Quitting Currency Conversion continue false else Display Error 4 Invalid menu selection. While End Display Menu Get International Value Declare value as integer Declare continue as Boolean Set continue true While continue true Display Enter a currency value positive number Input international. Value if international. Value 0 AND internation. Value lt 1. 00. Display Error 1 Invalid input Negative Number continue true end if end while End Get International Value Convert Currency Declare rate as real Select Case of currency. Type case 1 Set rate 1. Set rate 9. 5. 08. Set rate. 6. 08. Set rate 1. Set rate 6. Set rate 0. End Case USValue rate international. Value End Convert Currency Display Results Declare nation as string Declare currency as string Select Case of currency. Type case CANADIAN nation Canadian currency Dollars case MEXICAN nation Mexican currency Pesos case ENGLISH nation English currency Pounds case JAPANESE nation Japanese currency Yen case FRENCH nation French currency Francs default nation No country currency End Case if currency lt then Display The value of, international. Value, nation, currency, is, us. Value, dollars else Display Error 5 Invalid currency type. End Display Results.