Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write an application named Holiday Home that prompts the user for a salesperson initial (G, V, or J). Gabrielle, Valentine, and Jack are three salespeople
Write an application named Holiday Home that prompts the user for a salesperson initial (G, V, or J). Gabrielle, Valentine, and Jack are three salespeople at Holiday Homes. Both lowercase and uppercase initials are valid. Continue by prompting for the amount of a sale, while the user does not type Z or z. Issue an error message for any invalid initials entered. Keep a running total of the amounts sold by each salesperson. After the user types Zor z for an initial, display each salesperson's total. using System; using static System.Console; using System. Globalization; class Holiday Home static void Main() char letter; string inputStrings double sale, glotal = 0, viotal , jotal = 0; Write("Enter a salesperson initial >>"); inputString - ReadLine(); // Your code as
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