(101) 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 Zor 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.

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. Program: C# 

Having trouble figuring this problem out. Help would be appreciated! Input and Output screenshots

0
5.
CHAPTER 5
4.
Exercises
3.
1.
2.
Looping
snivello)
Programming Exercises
Write an application named SumFiveInts that allows the user to enter five integers
and displays their sum.
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.
Write an application named Enter Uppercase Letters that asks the user to type an
uppercase letter from the keyboard. If the character entered is an uppercase letter,
display OK; if it is not an uppercase letter, display an error message. The program
continues until the user types an exclamation point.
Write an application named DailyTemps that continuously prompts a user for a series
of daily high temperatures until the user enters a sentinel value. Valid temperatures
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.
10.
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
r 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.
Write an application named DisplayMultiplicationTable that displays a table of the
products of every combination of two integers from 1 through 10.
11
Write an application named MultiplicationTable 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.
Write an application named OddNums that displays all the odd numbers from 1
Transcribed Image Text:0 5. CHAPTER 5 4. Exercises 3. 1. 2. Looping snivello) Programming Exercises Write an application named SumFiveInts that allows the user to enter five integers and displays their sum. 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. Write an application named Enter Uppercase Letters that asks the user to type an uppercase letter from the keyboard. If the character entered is an uppercase letter, display OK; if it is not an uppercase letter, display an error message. The program continues until the user types an exclamation point. Write an application named DailyTemps that continuously prompts a user for a series of daily high temperatures until the user enters a sentinel value. Valid temperatures 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. 10. 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 r 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. Write an application named DisplayMultiplicationTable that displays a table of the products of every combination of two integers from 1 through 10. 11 Write an application named MultiplicationTable 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. Write an application named OddNums that displays all the odd numbers from 1
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

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