Answer
The program prompts the user to enter the input as an integer whose last two digits represent the cents.
Work Step by Step
The program prompts the user to enter the input as an integer whose last two digits represent the cents.
$Code:$
amount=int(input("Enter an amount as integer:"))
remainingAmount=amount
#number of dollars
numOfDollars=remainingAmount/100
remainingAmount%=100
#Cents
numbrtOfCents=remainingAmount
print("Your Amount ",amount/100.0,"consists of ")
print(" ",numOfDollars," dollars")
print(" ",numbrtOfCents,