Investment equation - c# program, DOT NET Programming

Investment Equation - C# Program

I didn't know the exact code for computing Investment Equation. Can anybody suggest me the correct way for my problem?

Posted Date: 2/12/2013 12:09:18 AM | Location : United States





Some new learner of C# faces this type of problem. Don''t worry use this code once.

using System;  

class Investment

{

public static void Main()

{

int P=1000,n;

float r=0.1F;

double V;  

Console.WriteLine(" ***** Investement Option of 10 yrs **** ");    

Console.WriteLine(""); // Blank Line     

Console.WriteLine("Principal(P)    Rate(r)      Number Of Yrs(n)   Value Of Money(V)\n");

Console.WriteLine("--------------\n");

V = P * (1 + r);

for (n=1;n<=10;n++)

{

Console.WriteLine ("        " + P + "          " + r + "      " + n + "           " + V);

P = P + 1000;

r = r + 0.01F;

V = P * (1 + r);

}  

Console.ReadLine();

}

}

Posted by Edward | Posted Date: 2/12/2013 12:10:40 AM

Very useful Code. This coding helps me to get good grades in my examination. Thank You so much.

Posted by Bella | Posted Date: 2/12/2013 12:11:21 AM


Related Discussions:- Investment equation - c# program, Assignment Help, Ask Question on Investment equation - c# program, Get Answer, Expert's Help, Investment equation - c# program Discussions

Write discussion on Investment equation - c# program
Your posts are moderated
Related Questions
ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. - repost Project Description: System is used for tracking company's activities through several pro

Project Description: I require a C# Console project written to simply enter an Origin and Destination/Date on the United Airlines Site, from the returned page select and return

Project Description: Step 1: Buy 1 share at existing market price (ex: buy 1 at 100.00) If 4 points profit then close position if not go to step 2 Step 2: if 2 point

How different are interface and abstract class in .Net? Abstract classes cannot be instantiated it can have or cannot have abstract method basically called as must inherit as t


A few changes to OutloProject Description: We require someone who is familiar with programming plug-in to work with Microsoft Outlook. Initially we just require a simple chan

Inventory billing and Management application in .net Project Description: Digital Inventory management Main Features         Multi user User friendly windows based s

Connect a Software Application to a Database Backend Acquire the knowledge and develop the skills needed to prototype an end user application using a rapid application dev

Webservices as such do not have any mechanism by which they can maintain their state. The Webservices can access ASP.NET intrinsic objects such as application, session and many mor

Need Experienced dot Net and PHP Programmers Project Description: Need Experienced dot Net., JSP, PHP, Java Programmers Skilled professional and command in Programming eit