-
Notifications
You must be signed in to change notification settings - Fork 0
/
OBS.cs
37 lines (33 loc) · 1.05 KB
/
OBS.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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorldCS
{
class Program
{
static void Main(string[] args)
{
string name, surname, depertmant, classs;
name = "Melike";
surname = "Kulahci";
depertmant = "Computer Engineering";
classs = "Object Oriented Programming";
int n1, n2, averange;
n1 = 70;
n2 = 65;
averange = (n1 + n2) / 2;
Console.WriteLine("***OBS***");
Console.WriteLine();
Console.WriteLine("Name and Surname:" + name + " " + surname);
Console.WriteLine("Depertmant:" + depertmant);
Console.WriteLine("Class:" + classs);
Console.WriteLine();
Console.WriteLine("Note1:" + n1);
Console.WriteLine("Note2:" + n2);
Console.WriteLine("Averange:" + averange);
Console.Read();
}
}
}