Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago