// Directions: Code Practice 4-1
// Follow the instructions in the comments below, then submit your dotnetfiddle link in Blackboard.
using System;
public class Program
{
public static void Main()
// 1) Create a double variable called dblHoursWorked within the Main method.
// 2) Assign a typical value to the variable for a weeks work. Your entry should be greater than 40 and have many spots past the decimal point (example: 45.53379)
// 3) Console Writeline : Output the variable: (example: 45.53379)
// 4) Console Writeline : Output the variable formatted to only two decimal spots: (example: 45.53)
// 5) Console Writeline : Output a line using the information with the following structure : "Hours Worked: 45.53"
// 6) Create a double variable to contain the overtime hours within the Main method with the correct naming convention.
// 7) Calculate the overtime hours as dblHoursWorked - 40;
// 8) Console Writeline : Output a line using the information with the following structure : "OverTime Hours: 5.53"
double dblHoursWorked = 52.1433333333f;
Console.WriteLine("Hours Worked: " + dblHoursWorked.ToString("N"));
double dblOverTime = dblHoursWorked - 40;
Console.WriteLine("OverTime Hours: " + dblOverTime.ToString("N") );
}