Java, .NET, PHP, PYTHON, ANGULAR, .NET, ML, Data Scince, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

Create a Program in C# Without Using Visual Studio:-


1)  Open Notepad and Create a C# Program for Simple Interest


2) Create Program

using System;
class SI
{

  public static void Main()
  {
      float p=12000,r=2.2F,t=2,si;
      si= (p*r*t)/100;
      Console.WriteLine("result is {0}",si);
  }


}


3)  Save this program using SI.cs

4)  Compile this program using csc FileName

    csc SI.cs


5)  Execute this program using

      SI.exe


                                      

Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post