theme changed

This commit is contained in:
nik
2025-09-30 08:21:09 +03:00
parent 4c261f7def
commit 8bd93df2ae
917 changed files with 15023 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using System;
class DivideIt
{
public static void Main(string[] args)
{
try
{
Console.WriteLine("enter the first integer");
string temp = Console.ReadLine();
int i = Int32.Parse(temp);
Console.WriteLine("enter the second integer");
temp = Console.ReadLine();
int j = Int32.Parse(temp);
int k = i / j;
Console.WriteLine("{0} / {1} = {2}", i, j, k);
}
catch (FormatException e)
{
Console.WriteLine("format exception was thrown: {0}", e.Message);
}
catch (Exception e)
{
Console.WriteLine("exception was thrown: {0}", e.Message);
}
}
}