Results 1 to 5 of 5

Thread: assignment aj udom

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Location
    United States
    Posts
    0


    assignment aj udom

    write a c/c++ program that handles multiple (sequential)
    Each file maintains a set of data as follows:
    1 Inventory file
    - product category ID, product ID, product name, model size, cost, price, current quantity

    2. Category file
    - Product category ID, category name

    3. Customer file
    - customer ID, customer name

    4. Salesperson file
    - Salesperson ID, salesperson name, product category ID, commission rate(in %)

    5. Sales transaction file
    - date, time, customer ID, salesperson ID, type of transaction(buy/sell), quantity

    6. Supplier file
    - supplier ID, supplier name

    a) the prog should allow basic operation for each file:
    insert, delete, update(edit), and list items by IDs/date+time

    the program sould provide the following summary :
    - the daily summaries of the number of each items sold out sorted by the total price
    - the daily summaries of the number of each items biught in sorted by the total cost
    - list of the top ten customer who made the purchases from the company, daily
    - the amount of commission earned by each salesperson in a day
    - the company overall monthly income, expense

  2. #2
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    Re: assignment aj udom

    please reply me

  3. #3
    Junior Member
    Join Date
    Sep 2002
    Location
    United States
    Posts
    9


    Re: assignment aj udom

    ขออันที่ update ละได้ปะ
    จำไม่ได้ว่าแก้ตรงไหน

  4. #4
    Junior Member
    Join Date
    Nov 2002
    Location
    United States
    Posts
    0


    Re: assignment aj udom

    Example

    Month of January
    Income = selling (50,000,000.75)
    Expenses = buying + commission (27,000,000) ---->no running cost only this.
    Balance = 23,000,000.75 (may be it is negative) ---->expenses more than income.
    Header
    ID Product name Quantity Unit price Total price
    001 fkdijfijg 1 20,000 20,000
    002 oirghui 5 99 495
    Total 20495


    Ex of report on screen

    ID Customer name Amount
    001 ifjihu 2,000,000
    002 8eyf8 350,000
    .
    .

    SalespersonID SalespersonName CommissionRate CommissionTotal
    001 bjfrhg 15% 3,000
    .
    .
    .
    Total ---------

  5. #5
    Junior Member
    Join Date
    Nov 2002
    Location
    United States
    Posts
    0


    Re: assignment aj udom

    dataต้องตรงfieldนะ

    tatalอยู่ที่เดียวกับID ค่าของมันตรงfieldสุดท้าย

Similar Threads

  1. Replies: 0
    Last Post: 08-12-2008, 11:27 PM
  2. NEW Assignment CSC105
    By massiah in forum Java
    Replies: 4
    Last Post: 04-11-2004, 11:37 PM
  3. CSC105 Assignment
    By massiah in forum Java
    Replies: 12
    Last Post: 03-11-2004, 09:54 AM
  4. Specification of aj.Udom Assignment2.
    By rx7 in forum Announcement
    Replies: 2
    Last Post: 12-01-2003, 02:13 AM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •