STUDYSHIELDS ASSIGNMENT HELP

  • Home
  • Blog
  • Courses
    • Child Category 1
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Services
  • Country
    • Childcare
    • Doctors
  • Home
  • Blog
  • Sample Works
  • Order Now

Friday, February 5, 2016

Customer Database Assume that you are running a business where customers come and buy your products

 February 05, 2016     No comments   

Customer Database Assume that you are running a business where customers come and buy your products from your shopping store. So you need to create a database which maintains a list of all of your customers and whatever each customer bought from your store. You should create two classes, one for Customer and the other for Product. A Customer should have at least the following parameters: (Please note that you may add additional parameters of your choice for each customer if it helps you in any way) First Name: string Last Name: string Customer type:string, Note that this parameter defines the type of customer based on the following conditions: if this customer has purchased items worth less than $100, his types is “normal” else if this customer has purchased items worth less than $1000, his types is “good” else if this customer has purchased items worth more than $1000, his types is “excellent” items: Product * (this field is of type Product pointer which points to the object of type Product) next: Customer* (this pointer will point to the next customer in the list) A Product should have at least the following parameters: (Please note that you may add additional parameters of your choice in this class if it helps you in any way) Name of product: string Price of this product: double next: Product* (this pointer will point to the next product in the list) You should create a pointer, say CustomerDatabase, as the head of the database which points to the first customer in the linked list. Customer * CustomerDatabase = NULL; //this pointer is the head of the linked list. Don’t call it head. You should provide functions to support the following operations: Add a new customer in the list (take input from user, all the fields and add a new customer) Delete a customer from the list (based on customer’s first name). Notice that deleting a customer should delete all the products that the customer bought so far.
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Click Here to Place order

Popular Posts

  • A “criminal minds” Aileen Wournos individual will be your “patient”
     A “criminal minds” Aileen Wournos individual will be your “patient”  A brief history of the patient including diagnoses (documented or your...
  • CEO Jane Lionel has some hard decisions to make with regard to some of the company’
     CEO Jane Lionel has some hard decisions to make with regard to some of the company’solder hands, and even on the eve of that decision, I be...
  • Problem in Supply Chain
    Problem in Supply Chain Problem 2. (Chapter 11: The Storage and Handling System) Compare the constrast private ownership of storage space to...

Recent Posts

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • November 2022 (20)
  • October 2022 (50)
  • September 2022 (119)
  • August 2022 (107)
  • February 2022 (501)
  • January 2022 (443)
  • December 2021 (488)
  • November 2021 (1574)
  • October 2021 (28)
  • September 2021 (11)
  • July 2021 (8)
  • June 2021 (15)
  • May 2021 (39)
  • April 2021 (15)
  • March 2021 (303)
  • February 2021 (712)
  • January 2021 (903)
  • December 2020 (2)
  • September 2020 (33)
  • April 2016 (5183)
  • March 2016 (3763)
  • February 2016 (4356)
  • January 2016 (1749)
  • December 2015 (22)
  • November 2015 (147)
  • October 2015 (23)

Sample Text

Copyright © STUDYSHIELDS ASSIGNMENT HELP | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates