Question: The program below is intended to ask the user for a number of pennies (an integer value), and print out the total number of dollars

 The program below is intended to ask the user for a
number of pennies (an integer value), and print out the total number

The program below is intended to ask the user for a number of pennies (an integer value), and print out the total number of dollars present, along with the leftover cents. There are 100 cents in a dollar, and each penny is worth 1 cent. For example, if the user inputs 283 for the number of pennies, then the program should print "You have 2 dollars, and 83 cents." Fill in the blank line in the code below so that the program works as intended. pennien =int( input f Fnter a nutber of penniest )) cen = peninies 1100 print ("You have", dol, "dollars, and", cen, "cents."). 2 Points Fill in the blank so that the following program prints out 12 . Don't include " x= " in your answer, only include the value that would go in the blank. Q5 Variables 2 Points Fill in the blank so that the following program prints out 9 . Don't include "foo = " in your answer, only include the value that would go in the blank

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!