Create Program in C# Without Using Visual Studio

0
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


                                      

Tags

Post a Comment

0Comments

POST Answer of Questions and ASK to Doubt

Post a Comment (0)