Division of two numbers Learn programming C# Sharp

Lesson:

First contact with C# Sharp


Exercise:

Division of two numbers 47


Objetive:

Write a C# program to print the result of dividing 24 into 5 on screen.


Code:

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