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);
Console.ReadLine();
}