Question: Construct a program that calculates the dollar amount of change in a piggy bank. Group Member #2- Date: CSC 170L-Computer Programming I Lab Lab 3
Group Member #2- Date: CSC 170L-Computer Programming I Lab Lab 3 Problem Statement-Construct a program that calculates the dollar amount of change in a pigsy bank. The program must accept the quarters, and pennies in the bank, calculate the dollar value, and print it on screen. number of dimes, nickels, Plan-Stepl: Show how the general equation below for calculating the value of a set of coins based on the number of the set. Total = nickler)+ (pennicy) 100 Plan-Step lI: Sketch how you expect the program to look when it is complete and label each portion of the screen (see handout) Enter he amounr of dimer (A In (6 Enter the amount of pennieh EnteR the amount oF nice( Entee he a mount oF quarter G ouR rotai value : 7.57 Press anq keq to conhnur
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
