Northcentral Technical College Introduction To Programming
10-152-310
Introduction to Programming with JavaScript NTC 10-152-310

Learning Plan 5 5.1 Lab 5

# 5.1 Lab 5

#### File: /Learning Plan 5/5.1lab5.html

### Student

- Name:
- Section:
- Email:

### Lab Steps

- Open this file in Firefox and Microsoft Visual Studio.
- Add your name, section, and email.
- Open the file /Learning Plan 5/jsFiles/5.1lab5.js in Microsoft Visual Studio.
- Open the lab file /Learning Plan 5/jsFiles/5.1lab5.js in Microsoft Visual Studio.
- Copy the contents of the function processingDataRecords() and paste into the function lab51_5(). Make sure you copy the contents, not the whole function.
- Add variables and code so that you add the following output after the current output.
  - The total number of inventory records.
  - The total count of all inventory items.

### Example Output

    The Inventory Items Record Set:

    200	Widgets	25
    201	Gadgets	17
    202	Dodads	30
    203	Toggles	12
    204	Doilies	25
    205	FooBars	1
    206	Fidgets	20
    207	Fiddles	19
    208	Faddles	10
    209	Frills	9

    Total Inventory Records: 10
    Total Amount of Items in Inventory: 168

### Your Output: