01
01
Code:
using System;
Class Mark
int m1 = int.Parse(Console.ReadLine());
int m2 = int.Parse(Console.ReadLine());
Output:
2)
Code:
using System;
Class Swapping
int a = int.Parse(Console.ReadLine());
Int b= int.Parse(Console.ReadLine());
a = a + b;
b = a – b;
a = a – b;
Console.WriteLine(“a =”+a);
Console.WriteLine(“b =”+b);
}
Output:
3)
Code:
Using System;
Class Split
int n = int.Parse(Console.ReadLine());
}
Output: