5. Danielle, Edward, and Francis are three salespeople at Holiday Homes. Write an application named HomeSales that prompts the user for a salesperson initial (D, E, or F). Either uppercase or lowercase initials are valid. While the user does not type Z, continue by prompting for the amount of a sale. Issue an error message for any invalid initials entered. Keep a running total of the amounts sold by each salesperson. After the user types Z or z for an initial, display each salesperson's total, a grand total for all sales, and the name of the salesperson with the highest total. error message. peratures entered and the average Write an application named Display Mul!! products of every comb

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Question 5 C#. I ran the outut and it kept repeating the salesperson intitial and amount of sales. Help would be appreciated!

3
-|-|-
HomeSales*
C#HomeSales
100%
What's New?
No issues found
7
Enter a şalesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Ready
Output
Show output from: Debug
HomeSales.exe' (CLR v4.0.30319: DefaultDomain): Loaded
Enter a salesperson initial d:
'HomeSales.exe' (CLR v4.0.30319: DefaultDomain): Loaded
Enter amount of sales 30:
Enter a salesperson initial_d:
Enter amount of sales 30: I
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
76°F
Sunny
Enter a salesperson initial d:
Enter amount of sales 30:
Enter a salesperson initial d:
Enter amount of sales 30:
Debug
Form1.cs'
Any CPU
Start - ▷ ✔ -
Program.cs*x Form1.cs [Design]*
Tools Extensions Window
11.1
HomeSales.Program
D||²|==|≤|Þ
'C:\windows\Microsoft.Net\assembly\GAC_32\
'C:\Users\conle\source\repos\HomeSales\Home
23
O
C
S
Pun
FERRETERA
M
Help Sear
LA
16553333333333
hp
Transcribed Image Text:3 -|-|- HomeSales* C#HomeSales 100% What's New? No issues found 7 Enter a şalesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Ready Output Show output from: Debug HomeSales.exe' (CLR v4.0.30319: DefaultDomain): Loaded Enter a salesperson initial d: 'HomeSales.exe' (CLR v4.0.30319: DefaultDomain): Loaded Enter amount of sales 30: Enter a salesperson initial_d: Enter amount of sales 30: I Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: 76°F Sunny Enter a salesperson initial d: Enter amount of sales 30: Enter a salesperson initial d: Enter amount of sales 30: Debug Form1.cs' Any CPU Start - ▷ ✔ - Program.cs*x Form1.cs [Design]* Tools Extensions Window 11.1 HomeSales.Program D||²|==|≤|Þ 'C:\windows\Microsoft.Net\assembly\GAC_32\ 'C:\Users\conle\source\repos\HomeSales\Home 23 O C S Pun FERRETERA M Help Sear LA 16553333333333 hp
220
4.
3.
2.
Write an
Display the
CHAPTER 5 Looping
Exercises
1.
Programming Exercises
and displays their sum.
Write an application named SumFiveInts that allows the user to enter five integer
Write an application named SumInts that allows the user to enter any number of
integers continuously until the user enters 999. Display the sum of the values entered
not including 999.
uppercase letter from the keyboard. If the character entered is an uppercase letter,
Write an application named Enter Uppercase Letters that asks the user to type an
display OK; if it is not an uppercase letter, display an error message. The program
continues until the user types an exclamation point.
of daily high temperatures until the user enters a sentinel value. Valid temperatures
Write an application named DailyTemps that continuously prompts a user for a series
range from -20 through 130 Fahrenheit. When the user enters a valid temperature,
add it to a total; when the user enters an invalid temperature, display an error message.
Before the program ends, display the number of temperatures entered and the average
temperature.
5. Danielle, Edward, and Francis are three salespeople at Holiday Homes. Write an
application named HomeSales that prompts the user for a salesperson initial (D, E,
or F). Either uppercase or lowercase initials are valid. While the user does not type Z,
continue by prompting for the amount of a sale. Issue an error message for any invalid
initials entered. Keep a running total of the amounts sold by each salesperson. After
sales, and the name of the salesperson with the highest total.
the user types Z or z for an initial, display each salesperson's total, a grand total for all
6.
products of every combination of two integers from 1 through 10.
Write an application named DisplayMultiplication Table that displays a table of the
7.
Write an application named Multiplication Table that prompts the user for an integer
value, for example 7. Then display the product of every integer from 1 through 10
when multiplied by the entered value. For example, the first three lines of the table
might read 1 X 7= 7,2 x 7 = 14, and 3 x 7 = 21.
8. Write an application named OddNums that displays all the odd numbers from 1
through 99.
application named Sum?00 that
gers from th
Transcribed Image Text:220 4. 3. 2. Write an Display the CHAPTER 5 Looping Exercises 1. Programming Exercises and displays their sum. Write an application named SumFiveInts that allows the user to enter five integer Write an application named SumInts that allows the user to enter any number of integers continuously until the user enters 999. Display the sum of the values entered not including 999. uppercase letter from the keyboard. If the character entered is an uppercase letter, Write an application named Enter Uppercase Letters that asks the user to type an display OK; if it is not an uppercase letter, display an error message. The program continues until the user types an exclamation point. of daily high temperatures until the user enters a sentinel value. Valid temperatures Write an application named DailyTemps that continuously prompts a user for a series range from -20 through 130 Fahrenheit. When the user enters a valid temperature, add it to a total; when the user enters an invalid temperature, display an error message. Before the program ends, display the number of temperatures entered and the average temperature. 5. Danielle, Edward, and Francis are three salespeople at Holiday Homes. Write an application named HomeSales that prompts the user for a salesperson initial (D, E, or F). Either uppercase or lowercase initials are valid. While the user does not type Z, continue by prompting for the amount of a sale. Issue an error message for any invalid initials entered. Keep a running total of the amounts sold by each salesperson. After sales, and the name of the salesperson with the highest total. the user types Z or z for an initial, display each salesperson's total, a grand total for all 6. products of every combination of two integers from 1 through 10. Write an application named DisplayMultiplication Table that displays a table of the 7. Write an application named Multiplication Table that prompts the user for an integer value, for example 7. Then display the product of every integer from 1 through 10 when multiplied by the entered value. For example, the first three lines of the table might read 1 X 7= 7,2 x 7 = 14, and 3 x 7 = 21. 8. Write an application named OddNums that displays all the odd numbers from 1 through 99. application named Sum?00 that gers from th
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY