Create a C Language application reflecting a set of product types which you create, such as...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a C Language application reflecting a set of product types which you create, such as apparel (shoes, sweats, pants, etc.), media (CD, DVD, book, movie, computer game, etc.), electronics (computers, smartphones, etc.). You will be writing a program to help a business manage the inventory for one of their product types. Select a product type and data and create a Word document listing your dataset with at least 10 records with the following fields (Don't use Food Items since I will be demonstrating using this subject matter). Create a specification and design document. Note: Come up with your own data set. All students should have different data. My Sample Data and CSV: Salad, 3,8.5, Appetizer Burger, 2,5.5, Lunch Hot Dog,4,3, Lunch Roast Beef, 3,9, Dinner Cheese Stick,2,4, Appetizer Sandwich, 6,4.5, Lunch Soda, 5, 2, Drink Fries,4,2.75, Appetizer Iced Tea,3,2,Drink Spaghetti, 3, 12, Dinner Description Salad Burger Hot Dog Roast Beef Cheese Stick Sandwich Soda Fries Iced Tea Spaghetti Quantity Price 8.50 5.50 3.00 9.00 3 2 4 3 2 6 5 4 Category Appetizer Lunch Lunch Dinner Appetizer Lunch 2.00 Drink 4.00 4.50 2.75 Appetizer 2.00 Drink 3 3 12.00 Dinner Requirements: Store all your unique 10 records of data into 4 parallel arrays, recommended that you use initializer lists), you may read from a file. Create the following functions to manipulate the data in the arrays. You can call them each from a menu. 1. (20 Points) Display the data as it is stored in the 4 arrays and 1 calculated column (Ext Price). Calculate the 5th column as the Extended Price (Quantity* Price), formatting the output using printf(). 2. (20 Points) Two functions which filter the data list in two ways, first by category, then by one of the other 3 fields (your choice). Also, produce a short footer output showing the totals and average using the report format below. 3. (20 Points) A function to convert the 4 parallel arrays into an array of structs. Print the data as serialized strings. 4. (20 Points) A function to write the data to a .CSV file, accessing each array using different pointer notation. Turning in your work: Please create and post to the Canva submission link, a zip file containing (1) A Word document with the program output/screenshots: a. Data in Original Order with 5th column. b. Data Filtered two ways and showing the footer report. c. The .CSV file you created for Part 3 d. The .c code file. Create a C Language application reflecting a set of product types which you create, such as apparel (shoes, sweats, pants, etc.), media (CD, DVD, book, movie, computer game, etc.), electronics (computers, smartphones, etc.). You will be writing a program to help a business manage the inventory for one of their product types. Select a product type and data and create a Word document listing your dataset with at least 10 records with the following fields (Don't use Food Items since I will be demonstrating using this subject matter). Create a specification and design document. Note: Come up with your own data set. All students should have different data. My Sample Data and CSV: Salad, 3,8.5, Appetizer Burger, 2,5.5, Lunch Hot Dog,4,3, Lunch Roast Beef, 3,9, Dinner Cheese Stick,2,4, Appetizer Sandwich, 6,4.5, Lunch Soda, 5, 2, Drink Fries,4,2.75, Appetizer Iced Tea,3,2,Drink Spaghetti, 3, 12, Dinner Description Salad Burger Hot Dog Roast Beef Cheese Stick Sandwich Soda Fries Iced Tea Spaghetti Quantity Price 8.50 5.50 3.00 9.00 3 2 4 3 2 6 5 4 Category Appetizer Lunch Lunch Dinner Appetizer Lunch 2.00 Drink 4.00 4.50 2.75 Appetizer 2.00 Drink 3 3 12.00 Dinner Requirements: Store all your unique 10 records of data into 4 parallel arrays, recommended that you use initializer lists), you may read from a file. Create the following functions to manipulate the data in the arrays. You can call them each from a menu. 1. (20 Points) Display the data as it is stored in the 4 arrays and 1 calculated column (Ext Price). Calculate the 5th column as the Extended Price (Quantity* Price), formatting the output using printf(). 2. (20 Points) Two functions which filter the data list in two ways, first by category, then by one of the other 3 fields (your choice). Also, produce a short footer output showing the totals and average using the report format below. 3. (20 Points) A function to convert the 4 parallel arrays into an array of structs. Print the data as serialized strings. 4. (20 Points) A function to write the data to a .CSV file, accessing each array using different pointer notation. Turning in your work: Please create and post to the Canva submission link, a zip file containing (1) A Word document with the program output/screenshots: a. Data in Original Order with 5th column. b. Data Filtered two ways and showing the footer report. c. The .CSV file you created for Part 3 d. The .c code file.
Expert Answer:
Answer rating: 100% (QA)
It looks like youve provided a detailed assignment for creating a C language application to manage inventory for a set of product types Below Ill outl... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Ivanhoe Boxes uses a petty cash imprest system. The fund was established on February 14 with a balance of $97. On February 28, there were $6 cash and the following petty cash receipts in the petty...
-
Your company wants you to research the potential for implementing a relational database. How would you explain a relational database to them? What are the pros and cons of relational databases? What...
-
When VGS = 0.5 VGS(off) . gm. is -------------- the maximum value. Select one: a. one-fourth b. three-fourths c. equal to d. one-half
-
Kelso Electrical's inventory records for industrial switches indicate the following at November 30, 2017: Nov. 1 Beginning inventory ........... 14 units at $160 8 Purchase...
-
Do charismatic and transformational leadership generalize across cultures?
-
For an ideal solution, the activity coefficient is defined as (a) \(\gamma_{i}=\frac{f_{i} x_{i}}{\bar{f}_{i}}\) (b) \(\gamma_{i}=\frac{x_{i}}{a_{i}}\) (c) \(\gamma_{i}=\frac{a_{i}}{x_{i}}\) (d) None...
-
Rick Kleckner Corporation recorded a capital lease at $300,000 on January 1, 2011. The interest rate is 12%. Kleckner Corporation made the first lease payment of $53,920 on January 1, 2011. The lease...
-
A set of gauge blocks starts at 0.1 inch and is available in 0.0001 inch increments up to 0.1010 inches. The same set also has blocks from 0.101 up to 0.110 in 0.001 inch increments, and from 0.110...
-
3. Find the regular expression for the language accepted by the following automaton. b
-
1. As with most bonds, consider a bond with a face value of $1,000. The bond's maturity is 12 years, the coupon rate is 9% paid annually, and the market yield (discount rate) is 19%. What is the...
-
On 1 September 2 0 2 0 , Spice Limited placed an order for inventory with an American supplier for $ 1 0 5 0 0 0 . Spice Limited s functional currency is the South African Rand. The inventory was...
-
Use the information listed in the table to calculate the opportunity cost of increasing missile production. Calculate the opportunity cost of increasing missile production (in increments of 50...
-
Company A's financial data are shown below. Year 2015 2020 Year 2015 2020 Sales 3,476 4,693 Total assets 3,540 5,054 Cost of goods sold 1,972 2,412 SGA expenses 599 865 903 1,170 Accounts Inventories...
-
On 20 January 2006, at its first meeting for the year 2006, Bank Negara Malaysia's Monetary Policy Committee (MPC) decided to leave the Overnight Policy Rate (OPR) unchanged at 3 percent. Malaysia's...
-
The table given below shows five different bundles of tomatoes and grapes that a consumer might purchase. If the consumer has $75 at his disposal and he decides to purchase Bundle E, he will be left...
-
Ch2 Case Study Assignment - Part 3 Ratio Problem for Two Companies (2pts - Completed Ratio Problem) The following information is available from the annual reports of Smokey Company and Bandit...
-
Kims Konstructions has assembled the following data for a proposed straw-reinforced brick maker (SRBM): SRBM Cost: $26,000 Life: 5 years Revenue (p.a.) $11,000 Operating Expenses (p.a.) $3,000...
-
Robert Ramos (age 36) is a single taxpayer, living at 8765 Bay Dr., Monterey, CA 93940. His Social Security number is 976-23-5132. Robert's earnings and income tax withholding as the manager of a...
-
Jenny earns $34,500 in 2012. Calculate the FICA tax that must be paid by: Jenny: ..............................Soc,Sec. ..................$______________...
-
Phil and Linda are 25-year-old newlyweds and file a joint tax return. Linda is covered by a retirement plan at work, but Phil is not. a. Assuming Phil's wages were $27,000 and Linda's wages were...
-
Using the diagram in exercise 5, illustrate the effect of the change in Japanese tastes if exchange rates are fixed. What will happen to the foreign exchange market equilibrium? Data from in exercise...
-
When and why should exchange rates change under a fixed-exchange-rate system?
-
What does it mean to say that a currency appreciates or depreciates in value? Give an example of each and briefly mention what might cause such a change.
Study smarter with the SolutionInn App