Answer:
The correct program to this question as follows:
Program:
//header file
#include <stdio.h> //include header file for using basic function
int main() //defining main method
{
int amountToChange=19,numFives,numOnes; //defining variable
numFives = amountToChange/5; //holding Quotient
numOnes = amountToChange%5; //holding Remainder
printf("numFives: %d\n", numFives); //print value
printf("numOnes: %d\n", numOnes); //print value
return 0;
}
Output:
numFives: 3
numOnes: 4
Explanation:
In the above program first, a header file is included then the main method is declared inside the main method three integer variable is defined that are "amountToChange, numFives, and numOnes", in which amountToChange variable a value that is "19" is assigned.