Thread: C programming help please

  1. #1
    Registered User
    Join Date
    Dec 2019
    Posts
    1

    C programming help please

    I need a help please i was asked to do this c program so please help me
    Write a C program emulating a vending machine,The machine sells healthy food. The functional requirements of the program are as follows:

    1)The program input will be through the console.
    2)The program output will be written to an output file at the program directory (same folder).
    3)In the console, the system must print the menu, which contains the list of healthy food that the vending machine sells.
    4)The bill of the item/items that the user selected must appear in the output file, after the user finishes his/her order and quits the program.
    5)The bill will contain the item chosen, quantity, total price, money paid (cash), and the remaining money (change).
    6)The input screen (at the console) should be similar to the example shown in figure (1).

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 02-01-2019, 12:27 PM
  2. Replies: 0
    Last Post: 02-01-2019, 12:22 PM
  3. Replies: 4
    Last Post: 12-11-2011, 04:25 PM
  4. small programming job VCPP / Object Oriented Programming
    By calgonite in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 01-04-2006, 11:48 PM

Tags for this Thread