6:34 LTE 87 < Back Work To Do Module 5, Assignment 1: While Loop & For Loop CSC114-405 Computer Science I (Fall 2024 S1) Due Date Thursday, Oct 24, 2024 at 11:59 PM Available from Sunday, Oct 6, 2024 at 9:00 AM to Thursday, Nov 14, 2024 at 11:59 PM Sample output 2: Would you like to: 1. Convert US Dollars to Canadian Dollars. 2. Convert US Dollars to Japanese Yens Enter 1 or 2:2 Enter US Dollar amount range start: $5 Enter US Dollar amount range end: $200 Enter the desired increment: 25 US: $5 Yens: 696.75 US: $30 Yens: 4180.50 US: $55 Yens: 7664.25 US: $80 Yens: 11148.00 US: $105 Yens: 14631.75 US: $130 Yens: 18115.50 US: $155 Yens: 21599.25 US: $180 Yens: 25083.00 Overdue by 21 days Go To Activity 6:34 LTE 87 < Back Work To Do Module 5, Assignment 1: While Loop & For Loop CSC114-405 Computer Science I (Fall 2024 S1) Due Date Thursday, Oct 24, 2024 at 11:59 PM Available from Sunday, Oct 6, 2024 at 9:00 AM to Thursday, Nov 14, 2024 at 11:59 PM To Do: Write a program to convert from US Dollars to Canadian Dollars or Japanese Yens. You can find the current exchange rates at https://www.federalreserve.gov/releases/ h10/current/ Notes: • The program should also prompt the user for 3 integers, corresponding to the range of currency amounts (start/end) as well as a increment amount. • You MUST use a whileloop in this program for the calculation/display of the various currencies. What to submit: • .cpp file Requirements: Overdue by 21 days Go To Activity

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter15: Recursion
Section: Chapter Questions
Problem 8SA
icon
Related questions
Question

Currency Conversion with Loops

 

Program to convert US Dollars to Canadian Dollars and Japanese Yen.

 

Use a while loop to calculate and display conversions.

 

Prompt user for starting, ending, and increment amounts in US Dollars.

 

Submit a .cpp file.

 

Two tasks: US Dollar to Canadian Dollar and US Dollar to Japanese Yen.

 

Sample output provided.

 

Notes:

 

 

 

 

• The program should also prompt the user for 3 integers, corresponding to the range of currency amounts (start/end) as well as a increment amount.

 

 

 

 

• You MUST use a whileloop in this program for the calculation/display of the various currencies.

6:34
LTE 87
< Back
Work To Do
Module 5, Assignment 1: While
Loop & For Loop
CSC114-405 Computer Science I (Fall 2024 S1)
Due Date
Thursday, Oct 24, 2024 at 11:59 PM
Available from Sunday, Oct 6, 2024 at 9:00 AM to Thursday, Nov 14,
2024 at 11:59 PM
Sample output 2:
Would you like to:
1. Convert US Dollars to Canadian Dollars.
2. Convert US Dollars to Japanese Yens
Enter 1 or 2:2
Enter US Dollar amount range start: $5
Enter US Dollar amount range end: $200
Enter the desired increment: 25
US: $5
Yens:
696.75
US: $30
Yens:
4180.50
US: $55
Yens:
7664.25
US: $80
Yens:
11148.00
US: $105
Yens:
14631.75
US: $130
Yens:
18115.50
US: $155
Yens:
21599.25
US: $180
Yens:
25083.00
Overdue by 21 days
Go To Activity
Transcribed Image Text:6:34 LTE 87 < Back Work To Do Module 5, Assignment 1: While Loop & For Loop CSC114-405 Computer Science I (Fall 2024 S1) Due Date Thursday, Oct 24, 2024 at 11:59 PM Available from Sunday, Oct 6, 2024 at 9:00 AM to Thursday, Nov 14, 2024 at 11:59 PM Sample output 2: Would you like to: 1. Convert US Dollars to Canadian Dollars. 2. Convert US Dollars to Japanese Yens Enter 1 or 2:2 Enter US Dollar amount range start: $5 Enter US Dollar amount range end: $200 Enter the desired increment: 25 US: $5 Yens: 696.75 US: $30 Yens: 4180.50 US: $55 Yens: 7664.25 US: $80 Yens: 11148.00 US: $105 Yens: 14631.75 US: $130 Yens: 18115.50 US: $155 Yens: 21599.25 US: $180 Yens: 25083.00 Overdue by 21 days Go To Activity
6:34
LTE 87
< Back
Work To Do
Module 5, Assignment 1: While
Loop & For Loop
CSC114-405 Computer Science I (Fall 2024 S1)
Due Date
Thursday, Oct 24, 2024 at 11:59 PM
Available from Sunday, Oct 6, 2024 at 9:00 AM to Thursday, Nov 14,
2024 at 11:59 PM
To Do:
Write a program to convert from US Dollars to Canadian
Dollars or Japanese Yens. You can find the current
exchange rates at https://www.federalreserve.gov/releases/
h10/current/
Notes:
• The program should also prompt the user for 3
integers, corresponding to the range of currency
amounts (start/end) as well as a increment amount.
• You MUST use a whileloop in this program for the
calculation/display of the various currencies.
What to submit:
• .cpp file
Requirements:
Overdue by 21 days
Go To Activity
Transcribed Image Text:6:34 LTE 87 < Back Work To Do Module 5, Assignment 1: While Loop & For Loop CSC114-405 Computer Science I (Fall 2024 S1) Due Date Thursday, Oct 24, 2024 at 11:59 PM Available from Sunday, Oct 6, 2024 at 9:00 AM to Thursday, Nov 14, 2024 at 11:59 PM To Do: Write a program to convert from US Dollars to Canadian Dollars or Japanese Yens. You can find the current exchange rates at https://www.federalreserve.gov/releases/ h10/current/ Notes: • The program should also prompt the user for 3 integers, corresponding to the range of currency amounts (start/end) as well as a increment amount. • You MUST use a whileloop in this program for the calculation/display of the various currencies. What to submit: • .cpp file Requirements: Overdue by 21 days Go To Activity
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr