Answer to Question #14651 in C# for levon
2012-09-11T11:34:20-04:00
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
1
2012-09-14T10:15:03-0400
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#
Comments
Leave a comment