A. Write a program that inputs a Taiwan New Dollar (TWD) amount and then outputs the amount with the smalllest number of $50, $10, $5, and $1 dollars. As an example,
Enter a TWD amount: 79 $50 dollars: 1 $10 dollars: 2 $5 dollars: 1 $1 dollars: 4B. Write a program that reads an integer that represents a number of days. The program will output the number of years, months, and days that corresponds to the input integer. For simplicty, in this assignment we assume that a year has 365 days, and a month has 30 days. As an example,
Enter a number of days: 678678 total days equal1 years, 10 months, and 13 days.