Yeah this is easy you need to start with a for(loop) and start off with the largest cents and then reduce
example:
**Total in the argument would be your "25 cents" that you could change to whatever value you wanted.
int coinsTotal(int total){
int quarter = 25;
int dime = 10;
int nickel = 5;
int penny = 1;
int sum = 0;
Then create a SUM variable to check vs value
int sum = 0;
For(int i = 0; i < total; i++){
**Enter arguments here**
!! Important to start with larger coins to avoid looping issues
1. Quarter
2. dimes
3. nickels
4. Pennies
Go in that order
Then you can make additional sum_ONE to either hold values or cout << statements
There are many many other ways to program this but this will be the "Most basic" way to approach this.