Thread: Help with small simple program

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    2

    Help with small simple program

    *This is not a graded project*

    Hey guys,

    I'm doing a small project for my college homework and it requires me to write a simple program for the following question except I"m late in the course with only small knowledge in C.

    If someone would give us a hand it be great (i dont want the whole thing to be written out for me I'd like to learn as much as I can)

    The question is as follows: "You are asked to write a simple program that will accept an integer value in the range of 5-95 and in increments of 5 at a time, representing the number of cents to give to a customer in their change. The program should calculate how many coins of each denomination and display this to the user. Valid coin values are 50, 20, 10 and 5. Your solution (program and algorithm) should be modular in nature. This requires the submission of a high-level algorithm and suitable decompositions of each step."

    All this requires is a simple notepad code i think using #include <stdio.h> etc. I am able to compile this myself.

    I thought I'd be able to do this but I cant get it started lol. *This is not a graded project*
    Last edited by Sonor; 04-02-2005 at 12:21 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  2. Builder C++ large files support for simple C program
    By Murfury in forum C Programming
    Replies: 3
    Last Post: 11-23-2007, 03:47 PM
  3. want to make this small program...
    By psycho88 in forum C++ Programming
    Replies: 8
    Last Post: 11-30-2005, 02:05 AM
  4. Replies: 5
    Last Post: 11-27-2005, 09:50 PM
  5. Need help with simple, simple program.
    By LightsOut06 in forum C Programming
    Replies: 5
    Last Post: 09-01-2005, 08:31 PM