Define two output functions for the data types: printCatNum and printEntry. Output of a catalog entry should resemble the following example:

Number: EXC-412
Description: 2400 BAUD MODEM Wholesale Price: $79.86
Retail Price: $119.99


```
void printCatNum (catNum ref)
{
cout << "Number: " << ref.category
<< '-' << ref.number << endl;
return;
}

void printCatEntry (catEntry entry)
{
printCatNum (entry.catref);
cout << "Description: " << entry.description << endl;
cout << "Wholesale Price: $" << entry.wholesale << endl;
cout << "Retail Price: $" << entry.retail << endl;
return;
}
>
```

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT a benefit of avoiding redundancy in a database?

A) Reduces errors when recording new data B) User doesn't have to remember where data is stored C) Conserves space D) Prevents unauthorized manipulation of data

Computer Science & Information Technology

In PowerPoint, if you add, delete, or move a slide, all slides will be renumbered automatically

Indicate whether the statement is true or false

Computer Science & Information Technology

When would a network administrator use L2TP?

A) To block ICMP packets from coming into a network B) To help with packet filtering C) When configuring a remote user's tunneling protocol D) When configuring routing for a network

Computer Science & Information Technology

Cookies and search items entered into search engines are examples of which of the following?

A. Metadata B. Browser-based data C. Temporary files D. Web cache

Computer Science & Information Technology