diff options
Diffstat (limited to '1553/CH22/EX22.1')
-rw-r--r-- | 1553/CH22/EX22.1/22Ex1.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH22/EX22.1/22Ex1.sce b/1553/CH22/EX22.1/22Ex1.sce new file mode 100644 index 000000000..65a258905 --- /dev/null +++ b/1553/CH22/EX22.1/22Ex1.sce @@ -0,0 +1,10 @@ +//chapter 22 Ex 1
+
+clc;
+clear;
+close;
+p=7500; n=2; r=4;
+amount=p*((1+r/100)^n);//formula for compound interest
+CI=amount-p;
+printf("The Compound Interest is Rs. %d",CI);
+
|