64 613
Assignments Done
99,1%
Successfully Done
In September 2018

Answer to Question #42295 in Other Programming & Computer Science for bojuwa

Question #42295
Write a program by A program language (Any Language) to calculate Simple Interrest (SI) Maturity Value (MV):

Formula1: Simple Interest (I) = Principal (P) x Rate (R) x Time (T)

Formula 2: Maturity Value (MV) = Principal (P) + Interest (I).
Expert's answer
Answer:
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
 
namespaceConsoleApplication3
{
    class Program
    {
        static void Main(string[]args)
        {
            Console.WriteLine("Enter Prinsipal:");
            doublep = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("Enter Rate:");
            doubler = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("Enter Time:");
            doublet = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("Simple Interest=" + p * r * t);
            Console.WriteLine("Maturity Value="+(p+p*t*r));
            Console.ReadLine();
           
 
        }
   }
}
 

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions