Question: Program C# Recipt - count =0; - Create a 2d array items. string[,] items = new string[100, 4]; - Create a do while loop, when
Program C# Recipt
- 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.
Example video: https://www.youtube.com/watch?v=1Yrfa2HL5Sw&feature=youtu.be
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
