CS50 – Week 1 – Cash

Cash was very easy. Just part.

int get_cents(void)
{
    int n;
    do
    {
        n = get_int("Change owed: ");
    

int calculate_quarters(int cents)
{
    // TODO
    return cents/25;
}

By brettstark

Aussie in Chicago

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.