write a program using c which maintains the product list

FIND A SOLUTION AT Academic Writers Bay

  • In main define an array of 1,000 product codes (each code is 3 digits)
  • Display a menu with the options to add, remove, or display the codes. Allow the user to repeatedly add, remove, or display the codes.There will be 3 functions: add, remove, and display.
  • Function 1. Add_Codes: this function adds the new product code to the array, at the end of the existing product codes; the array can contain any number of product codes at any time; however, if the array becomes full, do not add the code and display a “full” message.
    • For exle, if the array of product codes contained these four values: 126 498 365 712, and the Add_Codes function was called to add code 695, the five array values would then look 126 498 365 712 695 (695 added to end).
  • Function 2. Remove_Codes: this function will match the product code to the codes in the array and if matched, will move all the codes in the array which are to the right of the matched code to the left one position, effectively eliminating the matched code (hint: after shifting the codes, adjust the number of codes in the array). If the product code does not match any code in the array display an error message, or if the array becomes empty do not remove the code and display an “empty” message.
    • If the Remove_Codes function was then called to remove code 365, the array’s four values would look 126 498 712 695 (codes to the right of 365 shifted “down” to the left, over 365).
  • Function 3: Display Codes.


Order from Academic Writers Bay
Best Custom Essay Writing Services


Why Choose Us?

  • non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How It Works

  • Click on the “Place Your Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT ; SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.

About AcademicWritersBay.com

AcademicWritersBay.comnbsp;is an easy-to-use and reliable service that is ready to assist you with your papers 24/7/ 365days a year. 99% of our customers are happy with their papers. Our team is efficient and will always tackle your essay needs comprehensively assuring you of excellent results. Feel free to ask them anything concerning your essay demands or Order.

AcademicWritersBay.com is a private company that offers academic support and assistance to students at all levels. Our mission is to provide proficient andnbsp;high quality academic servicesnbsp;to our highly esteemed clients. AcademicWritersBay.com is equipped with competent andnbsp;proficient writersnbsp;to tackle all types of your academic needs, and provide you with excellent results. Most of our writers are holders ofnbsp;master's degreesnbsp;ornbsp;PhDs, which is an surety of excellent results to our clients. We provide assistance to students all over the world.
We provide high quality term papers, research papers, essays, proposals, theses and many others. Atnbsp;AcademicWritersBay.com, you can be sure ofnbsp;excellent gradesnbsp;in your assignments and final exams.

error: Content is protected !!