[13 因
I have a school friend who lives in
Andheri wast & he is a dear friend of mine
school
my
together in college also, but now that
school friend of mine has shafted to
United states of America.
ever since
days. We studied
Answers
Simple Interest is: 51000.000
JAVA
public class Main
{
public static void main (String args[])
{ float p, r, t, si; // principal amount, rate, time and simple interest respectively
p = 13000; r = 12; t = 2;
si = (p*r*t)/100;
System.out.println("Simple Interest is: " +si);
}}
Output:
Simple Interest is: 3120.0
C#
using System;
class main
{ static void Main()
{ int P;
double R, T, SI;
P = 12000;
R = 5;
T =0.5;
SI = (P*R*T)/100;
Console.WriteLine("Simple Interest is: "+SI);
}}
Output:
Simple Interest is: 300.00
PHP
<?php
$p = 2000;
$r = 10;
$t = 1;
$si = ($p*$r*$t)/(100);
echo("Simple Interest is: ");
echo($si);
?>
Output:
Simple Interest is: 200
Hope it's helps you!!