1.3 Division of two numbers

Objetive

Write a C# program to print the result of dividing 24 into 5 on screen. Compile it using Mono. Check that the resulting EXE file works properly.

Solution

public class Division
{
  public static void Main()
  { 
    System.Console.WriteLine(24/5);
  }
}



Popular Posts