Important instructions:
All programs must include introductory comments as well as comments all throughout the program. The introductory comment should include your name, the class name with section (e.g. CS 101 -24900), the program name, and a brief description of the program.
All Programs must also include pseudocode.
There are two parts to this question; the detailed pseudocode, and the program itself in C++
Write your program in C++ with Visual Studio, or an online compiler - compile, and execute it. Upload the file with the .ccp extension to Canvas for grading.
For visual studio users;
Don't forget to use the system ("pause") before the "return" statement at the end of your program.
Write a program that will convert U.S. dollar amounts to Phillippine peso and to euros, storing the conversion factors in the constants PESO_PER_DOLLAR and EUROS_PER_DOLLAR.
1 Dollar = 49.39 Philippine Peso
1 Dollar = 0.87 Euros
Format your currency amounts in fixed-point notation, with two decimal places of precision, and be sure the decimal point is always displayed.
Post your detailed pseudocode in the comments box.
See the image below on how to upload your file and also type your pseudocode in the comments section in the following format
Purpose:
Start
Input:
Processing:
Output:
Stop
Grading will be affected by:
Display formatted results, using fixed, showpoint, $ sign, and setpercision(2)
Here is an example of my output
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 1 images
- Examine the following pseudocode module header, and then select a statement that calls the module, passing 22 and "Bob" as an argument.Module showOutput(Integer aNumber, String userName)// etc...End Module A)Call showOutput(22, "Bob")B)Call showOutput("Bob", 22)C)Call Module(argument = "Bob", parameter = "22")D)Define Module ("Bob", 22)arrow_forwardA 3x3 design means that there are 3 ____ variables to be considered.arrow_forwardDesign methods aid code comprehension.arrow_forward
- C# programming question 3: I’m not sure how to do this question. Help of any input, output / comments would be appreciated.arrow_forwardQuestion Examine the following pseudocode module header, and then select a statement that calls the module, passing 22 and "Bob" as an argument. Module showOutput(Integer aNumber, String userName) // etc... End Module Call Module(argument = "Bob", parameter = "22") Call showOutput(22, "Bob") Call showOutput("Bob", 22) Define Module ("Bob", 22)arrow_forwardDesign methods aid code comprehension.arrow_forward
- To facilitate comprehension of the code, we use a variety of design techniques.arrow_forwardreate an enumeration named Planet that holds the names for the eight planets in our solar system, starting with MERCURY equal to 1 and ending with NEPTUNE. Write a program named Planets that prompts the user for a numeric position, and display the name of the planet that is in the requested position. In C#arrow_forwardDesign the pseudo code that calculates and displays a person's body mass index(bmi) based upon their weight and height. The calculation uses the formula: bmi = (weight/ (height*height)) psedocode must have proper internal documentation, using block and or line comments. Declare all variables before using them. Pseudo code must illustrate calculations.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education