C# program to calculate Simple Interest

In this C# program, we will take the input "Principal Amount", "Interest Rate" and "Time" from the user and calculate the simple interest.

C# program to calculate Simple Interest Code:

  private static void Main(string[] args)
            decimal Principal, Rate,Time,SimpleInterest;
            Console.Write("Enter the Principal Amount: ");
            Principal= decimal.Parse(Console.ReadLine());

            Console.Write("Enter the Rate Of Interest: ");
            Rate = decimal.Parse(Console.ReadLine());

            Console.Write("Enter the Time: ");
            Time = decimal.Parse(Console.ReadLine());

            SimpleInterest = Math.Round((Principal*Rate*Time) / 100,2);
            Console.WriteLine("Simple Interest is: {0}", SimpleInterest);


C# program to calculate Simple Interest Output:


We are nothing without our users ! You can help us offer even more high quality content. Please share our page !
Best quality Asp .Net Ajax Control Toolkit tutorials.

Give your valuable comments.

7 + 1 =
About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2023 CodingFusion
75 Important SQL Server queries you should know