april month deposit - 300 (int 9%) interest - 2.25 may month deposit - 300 existing amount(apr) - 300 total - 600 (9%) interest - 4.5
int cumu = Convert.ToInt32(textBox3.Text.Trim()); int totdep = Convert.ToInt32(textBox4.Text.Trim()); decimal tot = cumu + totdep; textBox4.Text = Convert.ToString(tot); decimal cumuint = ((tot * 10) / 100)/12; textBox5.Text = Convert.ToString(cumuint); int openbal = Convert.ToInt32(textBox2.Text.Trim()); int totbal = cumu + openbal; textBox2.Text = Convert.ToString(totbal); actually received amount is textbox3. in textbox4 holds total received in that textbox4 calculating interest. the interest amount will display in textbox5. my needs are the sum of interest amount should calculate and display in textbox6 Old Balance Current Total Per month 0 300 300 9 2.25 300 300 600 9 4.5 600 300 900 9 6.75 900 300 1200 9 9 1200 300 1500 9 11.25 1500 300 1800 9 13.5 1800 300 2100 9 15.75 2100 300 2400 9 18 2400 300 2700 9 20.25 2700 300 3000 9 22.5 3000 300 3300 9 24.75 3300 300 3600 9 27 175.5 total int I need to calculate this total how can i develop the code for this calculation.?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)