1.03: Division of Two Numbers
OBJECTIVE
Write a C# program to print the result of dividing 22 into 5 on screen. Compile it using Mono. Check that the resulting EXE file works properly.
RESOLUTION
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace My3Development
{
class DivisionTwoNumber
{
static void Main(string[] args)
{
Console.WriteLine("22/5= "+(22/5));
Console.ReadKey();
}
}
}
0 comments :
Please Enter best of your Comments