Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How would I modify the following C# program to use arrays to store the family names, allowed initials, and accumulated sales values? tatic void Main(string)
How would I modify the following C# program to use arrays to store the family names, allowed initials, and accumulated sales values?
tatic void Main(string) acgs) double familyA = double family = 0; double familyc - 0; 0; ouble ouble ("Enter your family initial A, B, or C: "); Consgle.rite("Enter sale amount $"); while (true) else if (tamilxInitial- "B" 1l familyInitialb") else if (familanitiaL= "C" Il tamilanitial.. "c") CanseleJWrite("Enter your family initial A, B, or C(Z to exit): "); break; Cansalswrite("Enter sale amount $"); ConsaledriteLine("Family A: 0", familyA); Consaleciteline(" Family B: 0H", familyB); ("Family C: (oj", familyC); Consaleritehine("Your Grand Total: o ", grandTetal)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