Skip to content
#

us-coins

Here are 2 public repositories matching this topic...

Language: All
Filter by language

A simple C program that demonstrates the Greedy Coin Change Algorithm for U.S. currency. The program takes an amount in cents as input and calculates the minimum number of U.S. coins (quarters, dimes, nickels, and pennies) needed to make that amount, then displays the count of each coin and the total number of coins used.

  • Updated Jul 11, 2026
  • C

Improve this page

Add a description, image, and links to the us-coins topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the us-coins topic, visit your repo's landing page and select "manage topics."

Learn more