Write a program that reads this information and summarizes the total sales by salesperson by product. All totals should be stored in the two-dimensional array sales. After each input, print the results in tabular format, with each of the columns repre- senting a particular salesperson and each of the rows representing a particular product. Cross-total each row to get the total sales of each product for last month; cross total each column to get the total sales by salesperson for last month. Your neat tabular printout should include these cross-totals to the right of the totaled rows and at the bottoms of the totaled columns. Use VBScript function FormatCurrency as part of your solution.

Use a two-dimensional array to solve the following problem. A company has four salespeople (with salesperson numbers
1 to 4) who sell five different products (with product numbers 1 to 5). Once a day, each salesperson passes in a slip for each different
type of product sold. Each slip contains the salesperson number, product number and the total dollar value of that product sold that
day.


```

1

2

3

4

5

6 Sales

7

8

9

10

11

Please enter a salesperson slip:



12

13


14

15

16

17

18

19

27

28

29

30

31

40

41

42

43

44
Salesperson #:

20

26
Product #:

32

39
Amount:

45
Computer Science & Information Technology

You might also like to view...

________ is NOT an option that displays in the Home section of the New page

A) Themes B) Recent templates C) Blank presentation D) Design slides

Computer Science & Information Technology

Access controls are defined only using technology.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

To delete more than one word or sentence, you must first ____________________ the text, then press the DELETE or BACKSPACE key or type new replacement text.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Photographers and artists use the rule of thirds to showcase the element in the foreground above all others.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology