Question: this question from c# programming Question 1 12.5 marks: A dental Equipment Company pays its sales employees on a commission basis The monthly salary of

 this question from c# programming Question 1 12.5 marks: A dental this question from c# programming

Question 1 12.5 marks: A dental Equipment Company pays its sales employees on a commission basis The monthly salary of the sales employee is $1000 plus 8% of their gross sales for that month. For example, a salesperson who sells S10000 worth of Diamond instruments for dentists in a month receives 1000 plus 8% of $10000, or a total of S1800. 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 earnings. Process onc salesperson's figures at a time. To stop the program the user type - 1 and display the message "Goodbye!". is 16000 Salary 600 Question 2 12.5 marks: 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.00 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. In main method create a text file to write a data 3. Starting from t-0.0 tot-20.0 seconds, repeatedly Call calculate Position method and display the time and the returned position of the particle The output should looks like: Position 0,0 2.0 Tims 4.0 1.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!