Question
Code in C# please. Jagged Spreadsheet a. Create a jagged array of type double. b. The array should be large enough to hold 50 rows
Code in C# please.
Jagged Spreadsheet a. Create a jagged array of type double.
b. The array should be large enough to hold 50 rows (accounts).
c. Ask the user which account (row) to work with: (1 50). Each row is treated as a separate account of numbers.
d. In the console, ask the user how many columns a specific account holds; allocate that rows array to hold the number of elements the user specified.
e. Allow the user to provide the input for each column in the selected row. Stop accepting values when the user enters 0.If a user inputs 6 columns and then enters 1 then 2 then 0 the rest of the columns should have 0s in the output file.
f. The last column should hold the sum of the numbers of the previous columns for that row.
g. When the user is finished (enters 0 for the account/row selection), stop accepting user input and write out the entire spreadsheet to a file called, dynamicspreadsheet.dat
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started