Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,199,990 members, 7,973,407 topics. Date: Saturday, 12 October 2024 at 04:05 PM |
Nairaland Forum / Nairaland / General / Education / Pls Help: Write A Program In Visual Basic To Calculate Compound Interest (2778 Views)
Pls Help: Write A Program In Visual Basic To Output The Fibonacci Sequence / How To Calculate Your GP/CGP / How To Calculate Quickly And Correctly In Mathematics (2) (3) (4)
Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by PatEinstEin(m): 1:21pm On Jul 28, 2014 |
Computer scientists, pls help with this assignment: write a program in visual basic to calculate the compound interest payable in a premium for any number of years using a maximum of five tools or objects. Thanks. I'm a biochemistry student - 200 level, but computer science is compulsory for me Also, I would appreciate tutorials on Visual Basic Programming |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by alotofgrace(m): 4:34pm On Jul 28, 2014 |
move ur thread to "programming" section moreover google is ur next door neighbour 0r [url=msdn.microsoft.com/en-us/vstudio/aa718325.aspx]developer ntwk[/url] 1 Like |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by Nobody: 5:05pm On Jul 28, 2014 |
Hey, do you mind if I give you the code in cplusplus? Cause I don't know visual basic for now!!!! Loading.... Loading.... Loading... |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by PatEinstEin(m): 5:14pm On Jul 28, 2014 |
Ezechinwa: Hey, do you mind if I give you the code in cplusplus? Cause I don't know visual basic for now!!!!I don't mind. Thanks. |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by Nobody: 5:38pm On Jul 28, 2014 |
#include <cstdio> #include<cstdlib> #include<iostream> #include<math.h> using namespace std; int main () { // define the input for this program double p; //principal double r; //rate double i; //initial rate (value) double n; //number of year accumulated double t; //time double e; // product of n and t double f; //ratio of r and n double g; // (f+1) double h; // value of g raise to power e double A; // Compound interest value // mathematical manipulation // getting parameter for rate cout << ”ENTER THE RATE (without percentage )“; cout << ”\n”; cin >> i; r= (i*0.01); // getting parameter for number of times cout << ”ENTER THE NUMBER OF TIMES THE << INTEREST ARE COMPOUNDED PER YEAR ” << ”\n“ ; cin. >> n; // getting parameter for years cout << ” ENTER THE NUMBER OF YEARS : " << ”\n” ; cin. >> t; // getting parameter for principal cout << “ENTER THE PRINCIPAL ( in naira ) : ” << "\n" ; cin. >> p ; // mathematical manipulation 2. e= (n*t) ; f= (r/n); g= (1+f); h= pow ( g , e ) ; A= (p*h) ; // final output after a successful coding, remember drink a cup of water and relax your head.. Lol cout << ”THE COMPOUND INTEREST IS " ; cout << "\n“; cout << "#"<<A; cout << "\n"; system ("PAUSE" return 0 ; } 1 Like |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by Nobody: 5:41pm On Jul 28, 2014 |
Remember the general formular is A= P( 1+ (r/n) ) ^ nt The program works perfectly, I hope you get an "A" in your course!!! 1 Like |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by PatEinstEin(m): 5:48pm On Jul 28, 2014 |
Ezechinwa: Remember the general formular isAmen!!! Thanks a lot |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by dejt4u(m): 10:04pm On Jul 28, 2014 |
Fortran is a bit easier to me.. I can use fortran for you if u wil nt mind.. |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by PatEinstEin(m): 10:09pm On Jul 28, 2014 |
dejt4u: Fortran is a bit easier to me.. I can use fortran for you if u wil nt mind..I don't mind bro. Thanks. |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by Nobody: 10:09pm On Jul 28, 2014 |
dejt4u: Fortran is a bit easier to me.. I can use fortran for you if u wil nt mind.. Pls post it |
Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by dejt4u(m): 11:25pm On Jul 28, 2014 |
PatEinstEin: Ezechinwa:I promise to post it tomorrow God's willing.. |
(1) (Reply)
Ogun Reschedules Unified Promotion Examination For Public Primary Schools / Transfer From Nigerian University/polytechnic To Universities Abroad / Beware Of NYSC Scammers
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12 |