would someone help me ,please!

This is a discussion on would someone help me ,please! within the C++ Programming forums, part of the General Programming Boards category; Hi dear member , I want to make a program by c++ to develop a vend system in a small ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    4

    Post would someone help me ,please!

    Hi dear member ,
    I want to make a program by c++ to develop a vend system in a small company specializing in selling PC parts(configurations),according to this table contents:
    (I minimized the no. of rows & columns in this post to be short. )the columns names are(Part_No ,Part_Quantity, Part_Price), and the rows elements are(10, 80, 100)

    The c++ program must work according to the following steps :
    1. it must display the array contents from the table.
    Then it will ask the user to:
    2. enter the requested Part_No , if it’s found go to step no. (3) ,else print “the part isn’t found” then go to step no. (2).
    3. enter the requested quantity(qu) ;(the program must check) if the entered (qu) is more than the existing (qu) in the array contents ,it prints “the (qu) isn’t available, the available (qu) is ***(the strike is the No. of the available (qu); Please enter a suitable q”, then go to step no. (3),but if the entered (qu) is less or equal to the stored Q in the array , it prints ”the (qu) is found” then go to step no. (4).
    4. ask the user “Do you want to continue the sell process’,if “Yes” go to step no. (5) else go to step no. (2).
    5. Calculate the price of the sold quantity.
    6. Print the Part_No, print the available quantity , print the rest (qu), and print the sold (qu).
    7. ask the user ”Do you want to do another selling process”,if “Yes” go to step no.(2),else go to step(8).
    8. print “the process is finished”.


    With a bunch of thanks for you..
    Sara

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Post what you've done so far so we can help you; homework is given to you for a reason.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,497

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem With Code In Ubuntu ,please Help Me
    By krisvamc in forum C Programming
    Replies: 2
    Last Post: 04-12-2007, 11:55 PM
  2. large program code ,please help
    By Ash1981 in forum C Programming
    Replies: 14
    Last Post: 01-30-2006, 05:16 AM
  3. would someone help me ,please!
    By sara* in forum C++ Programming
    Replies: 2
    Last Post: 01-18-2006, 03:14 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21