Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

USING VISUAL STUDIO C# WINDOWS FORM APPLICATION C# C# C# C# C# C# C# C# not java

ID: 3879949 • Letter: U

Question

USING VISUAL STUDIO C# WINDOWS FORM APPLICATION

C# C# C# C# C# C# C# C# not java

Please don't give this to me as a java program like the last guy did.

Using C# Visual Studio

Create a program (name of the program is assignment 2), that will display your name, the course name, and the due date of this assignment. Each 'string' should first be placed into a variable before it is displayed. You can display the strings using any of the techniques shown in the five videos (see #1 above).

All variables (and any other objects you use) should be created with significant names. For example the variable to hold your name might be called myName or strMyName. You will lose points if you do not rename all objects with significant names.

Explanation / Answer

using System;
using System.Text;

class Student
{
static void Main(string[] args)
{
string stuName,cName,dueDate;

Console.WriteLine("Enter Your Name : ");
stuName = Console.ReadLine();
Console.WriteLine("Enter Your Cousre Name : ");
cName = Console.ReadLine();
Console.WriteLine("Enter Due date : ");
dueDate=Console.ReadLine();
Console.WriteLine(" Your Name is : "+stuName);
Console.WriteLine(" Your Course is : "+cName);
Console.WriteLine(" Due Date for your course is "+dueDate);

}
}