Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1. Creating a flowchart using Raptor. Due date: Monday, January 16 In pages 20 through 29 of the handout entitled ProblemSolving, we discuss the

image text in transcribed
Q 1. Creating a flowchart using Raptor. Due date: Monday, January 16 In pages 20 through 29 of the handout entitled "ProblemSolving", we discuss the following problem: Given an integer that represents the amount of change to be made, construct a flowchart that will print the number of quarters, dimes, nickels and pennies to be used, such that the total number of coins is minimized. This video explains the basic things about the Raptor program; Raptor is also discussed in the problem solving handout. The Raptor flowchart simulation program is available on all campus computers; can also be downloaded free from the internet at this link. Using Raptor, reconstruct the flowchart on Page 29 of the handout, and test your result. Place the raptor file in a folder RaptoritW and place the folder within the Homework1 folder in your CourseFiles folder. The instructions for submitting by uploading to Coursefiles was explained in Lab 1. Important: All Mac users should run Raptor inside a Windows Virtual Machine. We cannot read/grade Mac files Q 2. Creating a C++ program for making change. Due date: Wednesday, January 18 Write a C ++ program that makes change in US coins for a given amount. The program prompts the user to enter the amount for which we need change and then prints out the number of coins of each denomination needed to generate the amount, using the smallest possible number of coins. Here is a sample output: Please enter the amount: 107 You will need: 4 Quarters 1 Nickel 2 Pennies Thank-you, Goodbye! Program Requirements. The code should be neatly indented, use meaningful variable names and named constants and have appropriate, succinct comments. Your program must not use any 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago