Question: Part 5: Programming 1 (12 marks) Write a C++ program that uses a counter-controlled repetition while loop to perform 5 test cases for the following:

Part 5: Programming 1 (12 marks) Write a C++ program that uses a counter-controlled repetition while loop to perform 5 test cases for the following: Input an amount in Canadian dollars (integer). Convert and store the conversion from the amount in Canadian dollars to an amount in US dollars according to 1 CND = $0.906 USD Output both the CND amount and the USD amount for each test case. I Part 5: Programming (Continued) 2 (12 marks) Write a complete CH program that uses a counter-controlled while loop to calculate the sum of the odd integers between 1 and n. Assumen is positive. I Algorithm: DECLARATION OF VARIABLES cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
