-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
45 lines (43 loc) · 1.54 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
namespace SimpleProgram1
{
internal class Program
{
static void Main(string[] args)
{
//Console.WriteLine("Display Student Details");
//Console.WriteLine("Name: ");
//Console.WriteLine("Mohammed Niyas");
//Console.WriteLine("Branch: ");
//Console.WriteLine("ECE");
//Console.WriteLine("Score: ");
//Console.WriteLine("80%");
//Console.WriteLine("Year: ");
//Console.WriteLine("2010");
//Console.WriteLine("Status: ");
//Console.WriteLine("Pass");
//string name = "Mohammed Niyas";
//int score = 80;
//int year = 2010;
//Console.WriteLine("Display Student Details");
//Console.WriteLine("Name: ");
//Console.WriteLine(name);
//Console.WriteLine("Branch: ");
//Console.WriteLine("ECE");
//Console.WriteLine("Score: ");
//Console.WriteLine(score);
//Console.WriteLine("Year: ");
//Console.WriteLine(year);
//Console.WriteLine("Status: ");
//Console.WriteLine("Pass");
string name;
Console.WriteLine("Display Student Details");
Console.WriteLine("Name: ");
name = Console.ReadLine();
Console.WriteLine(name);
Console.WriteLine("Branch: ");
Console.WriteLine("ECE");
Console.WriteLine("Status: ");
Console.WriteLine("Pass");
}
}
}