Objective(s)

This assessment item relates to the unit learning outcomes as in the unit descriptors. This checks your understanding about basic constructs of C# programming.

Details and Problems

In this assignment, you are required to develop TWO C# Console Programs to demonstrate your ability to use C# constructs including input/output via command line, C# primitive and built-in C# types, C# defined Objects, selection and looping statements, methods and various other C# commands. Your program must produce the correct results.

Problem 1

Write an application that inputs one number consisting of FIVE digits from the user, separates the number into its individual digits and prints the digit separated from one another by three spaces each. For example, if the user types in the number 42339, the program should print "4 2 3 3 9". Assume that the use enters correct number of units.

Problem 2

You are required to develop a C# application Named PayCalculator.cs that will determine the gross pay for each of three employees. The company pays straight time for the first 40 hours worked by each employee and time and a half for all hours worked in excess of 40 hours. You are given a list of the three employees of the company, the number of hours each employee worked last week and the hourly rate of each employee. Your application should input this information for each employee and should determine and display the employee's gross pay. Use the Console classs ReadLine method to input the data.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.