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");


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);





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
Unity 4 iOS Pro Developer to prepare link.xml Project Description: I'm seeking an iOS developer with a Unity 4 iOS Pro license to prepare a link.xml file that will let my pro

If one of your validations is complicated and does not fit in any validators, what you do? The best way is to go for CustomValidators. The sample code for a custom validator

What is the use of the Connection object? The Connection object is used to connect your application to a specific data source by giving the needed authentication information in

Need Software Reconfiguration Project Description: I have a small program -exe that after selecting an item from the menu it start an .xls file and executes a security proces

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

Question 1 A small Canadian law firm specializing in immigration law has what it considers a successful website. One of the most popular features of the website is its newslet

Project Description: We're seeking an IT candidate with experience to help us optimizely,  Skills required: .NET, C# Programming, ASP, eCommerce, SQL

What is a workflow? A workflow is a collection of actions (called activities) that presents the model of a process. A workflow gives a way to explain the order of the execution

Explain ADO.NET in brief. ADO.NET is a very significant feature of .NET Framework, which is used to work with data that is stored in structured data sources, like databases and

What is aspect oriented programming? The Aspect-oriented software development is the latest technology for the separation of the concerns (SOC) in the software development. The