Answer to Question #42295 in 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).
1
Expert's answer
2015-06-04T03:27:20-0400
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 the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS