Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I. getDataFromFile: this method should be used to read data from a given file. This method SKU Number Product Name Unit Price Quantity 38.94 shoid
I. getDataFromFile: this method should be used to read data from a given file. This method SKU Number Product Name Unit Price Quantity 38.94 shoid return a rvo-dimensional array with data from the fiie. "Eldon Base for stackable storage shelf, platinum" "1.7 Cubic Foot Compact"Cube" Office Refrigerators 208.1 "Cardinal Slant-D Ring Binder, Heavy Gauge Vinyl" 8.69 2. updateData: this method should make necessary modification to the data. For this assignment, you should design program to make dynamic update based on user input. For example, if user wants to make update on item number 7, your program should accommodate that. Product name has around them, write code to remove all the quotes from product names. If user wants to update quantity or product name, your code should handle that dynamically. Ihis Niethod shonicd accept a two-diniensoa ary as apameter ani return a o-dimsto mTy with he mochfied dater. 27 30 195.99 Holmes IEPA Air Purifier G.F.. onger-ife Indoor Recessed Floodlight Bulbs Angle-D Binders with Locking Rings, Label Holders" 7.3 "SAFCO Mobile Desk Side File, Wire Frame" "SATCO Commercial Wire Shelving, Black" Xerox 198 Xerox 1980 Advanlus Map Pennant Flags and Round Tcad Tacks 3.95 ITolmes TTTEPA Air PurilieT "DS/HD IBM Formatted Diskettes, 2001ack-Staples', 47.98-31 "Wilson Jones I"" ?????ng DubLckR Ring Binders" 5.28 Ultra Commercial Grade Dual Valve Dor Closer 39.89 "Premium Diagonal Seam Envelopes Hon 4-Shelf Metal Bookcases Lesro Sheffield Collection Coffoe Table" Plymouth Boxed Rubber Bands by Plymouth 21.78 6.64 12 27622 138.14 4.98 4.28 3. saveData ToFile:ths metod should wrile dala rom the two-dimensional array to a lile. Tds method should accept a wo-dimensional array as a parameter and return void main: this method should be used to call all other methods. 4. 12 Your outpul should look smilar to the one shown in the back: 32 32 21.78 15 l6 15 46 5.74 100.98 1.37 65.99 20 15
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started