---
title: "How can write a program in C# for Simple Interest ?"  
description: "How can write a program in C# for Simple Interest ?"  
author: "Gurmeet Kaur"  
published: 2018-09-09  
updated: 2018-09-09  
canonical: https://answers.mindstick.com/qa/49696/how-can-write-a-program-in-c-sharp-for-simple-interest  
category: "programming"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How can write a program in C# for Simple Interest ?

![How can write a program in C# for Simple Interest ?](https://answers.mindstick.com/questionanswer/70ece85a-1e8a-4f04-93a2-51fb9fb17cd4/images/efce250a-1ec4-49c4-a256-d6e03bbab7a5.gif)\

## Answers

### Answer by Sanat Shukla

![How can write a program in C# for Simple Interest ?](https://answers.mindstick.com/questionanswer/70ece85a-1e8a-4f04-93a2-51fb9fb17cd4/images/d05a9644-ea72-4e59-9143-4d885b1336b0.png)

```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {
        static void Main(string[] args)
        {
            int P, T;
            float R, SI;
            Console.Write("Enter Amount :");
            P = Convert.ToInt32(Console.ReadLine());
            Console.Write("Enter Rate :");
            R = Convert.ToSingle(Console.ReadLine());
            Console.Write("Enter Time(in Year) :");
            T = Convert.ToInt32(Console.ReadLine());
            SI = P * R * T / 100;
            Console.WriteLine("Simple Interest is :{0}", SI);
            Console.ReadKey();
        }
    }
}
```

\


---

Original Source: https://answers.mindstick.com/qa/49696/how-can-write-a-program-in-c-sharp-for-simple-interest

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
