Question: Create a console program using Visual Studio - count =0; - Create a 2d array items. string[,] items = new string[100, 4]; - Create a

Create a console program using Visual Studio 

- count =0; - Create a 2d array "items". string[,] items = new string[100, 4];

- Create a do while loop, when user enter "0", stop the loop. - User enter item name, price, quantity, save these info and subtotal to array. - increase "count++" -conver price(decimal, Convert.ToDecimal() ) and quantity(int) to do mulplication for subtotal

- create a for loop (with count ) to cycle through the "items", display item name, price, quantity, and subtotal. accumulate subtotal

- Display total items, sutotal, total at the end.

Create a console program using Visual Studio - count =0; - Create

2 5 u DO 2 O

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!