62 478
Assignments Done
98,8%
Successfully Done
In June 2018

Answer to Question #14651 in C# for levon

Question #14651
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
Expert's answer
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions