write a C# console application program that prompts the user for a name, Social security number, hourly pay rate, and number of hours worked. Display input data as well as the following
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace q14651
{
class Program
{
static void Main(string[] args)
{
string name, ssn, hourlyPayRate, hoursWorked;
Console.Write("Enter name: ");
name = Console.ReadLine();
Console.Write("Enter SSN: ");
ssn = Console.ReadLine();
Console.Write("Enter hourly pay rate: ");
hourlyPayRate = Console.ReadLine();
Console.Write("Enter number of hours worked: ");
hoursWorked = Console.ReadLine();
Console.WriteLine("
Information:
Name: " + name + "
SSN: " + ssn + "
Hourly pay rate: " + hourlyPayRate + "
Number of hours worked: " +
hoursWorked);
}
}
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C#