Question: c sharp question 2 Question 112.5 marks): A dental Extment Company pay its cales empleyees on commission bass The monthly salary of the sales mployee

 c sharp question 2 Question 112.5 marks): A dental Extment Company
c sharp
pay its cales empleyees on commission bass The monthly salary of the
sales mployee is $1,000 plus 5% of the pros sales fue that
question 2

Question 112.5 marks): A dental Extment Company pay its cales empleyees on commission bass The monthly salary of the sales mployee is $1,000 plus 5% of the pros sales fue that the For example, a salesperson who sells $10.000 worth of Diamond intruments for dentists in a mouth receives 1,000 plus 8% of $10.000, or a total of $1,800 Write a program that was a while statement to input each alesperson's pro ale for last month and calenkates and displays that calesperson's earning Process ome sales person's figures at a time. To stop the press the user type-1" and display the mecap "Goodisye!". Enter sales in dollars (-1 to end: 5000 Salary le: 51400.00 Beteres in dolls - tol): 3000 Salary is: 51660.00 Eerste in dolls (ol tood: 9000 Salary is: $1720.00 Question 2 12.5 marks): I The goal of this ansignment is to create a program thuat calculates the portion of the particle over a Consider the position of a particle moving along the satis is piven by (04.0-2.06 whiret is time in second 1. Write a method named calculate Position that accepts an spument time of double type. The method calculate and returns the position of the particle Use the above equation 2. Starting from w00to -200 seconds, repeatedly Call calculate Position method using a fer-loop and display the time and the retumod position of the particle The output should look like Tin Position 00 10 4.0 20 30.0 -360 Question 1 (2.5 marks): A dental Equipment Company pays its sales employees on a commission basis. The monthly salary of the sales employee is $1,000 plus 8% of their gross sales for that month. For examplo, a salesperson who sells $10,000 worth of Diamond instruments for dentists in a month receives 1,000 plus 8% of $10,000, or a total of $1,800 Write a program that uses a while statement to input each salesperson's gross sales for last month and calculates and displays that salesperson's camnings. Process one salesperson's figures at a time. To stop the pasuram the user type "1" and display the message "Goodbye!". Exiter sales in dollars (-1 to end): 5000 Salary is: $1400,00 Pater sales in dollars (el to end): 8000 Salay is: 51640.00 Enster sales in dollars to end): 9000 Salary is $1720.00 The goal of this assignment is to create a C# program that calculates the position of the particle over a time. Consider the position of a particle moving along the x-axis is given by x(t) 4.0-2.01 where t is time in second 1. Write a method named calculate Position that accepts as argument time of double type. The method calculates and returns the position of the particle. Use the above equation. 2. Starting from t 0.0 tot 20.0 seconds, repeatedly: Call calculatoPosition method using a for-loop and display the time and the returned position of the particle The output should look like: Time Position 0.0 1.0 4.0 2.0 20.0 -36.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!