Division of two numbers Learn programming C#

Lesson:

First contact with C# Sharp


Exercise:

Division of two numbers 153


Objetive:

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


Code:

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