View the step-by-step solution to:

Thank you for the help with my other questions a couple days ago. Are you able to assist me with the following 3 questions?

Thank you for the help with my other questions a couple days ago. Are you able to assist me with the following 3 questions? They need to be completed using C#. Thank you.


1. Write a program that allows the user to enter any number of integer values continuously (in any order) until the user enters 999. Display the sum of the values entered, not including 999. Save the file as Sum.cs.
2. Three salespeople work at Sunshine Hot Tubs—Andrea, Brittany, and Eric. Write a program that prompts the user for a salesperson's initial (’A’, ‘B’, or ‘E’). While the user does not type ‘Z’, continue by prompting for the amount of a sale the salesperson 157158made. Calculate the salesperson's commission as 10 percent of the sale amount, and add the commission to a running total for that salesperson. After the user types ‘Z’ for an initial, display each salesperson's total commission earned. Save the file as TubSales.cs.
3. Write a program containing an array that holds five integers. Assign values to the integers. Display the integers from first to last, and then display them from last to first. Save the program as IntegerList.cs.

Sign up to view the entire interaction

Top Answer

Please find the attached solution. Expecting a... View the full answer

c# codes.docx

Ans: 1.
using System;
namespace sum_continuous
{
class sum
{
int num=0;
int sum=0;
static void Main(string args)
{
while(num!=999)
{
Console.WriteLine(“The total floor space is: ”, floor,...

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online