Pls Help: Write A Program In Visual Basic To Calculate Compound Interest - Education - Nairaland
Nairaland Forum › Nairaland General › Education › Pls Help: Write A Program In Visual Basic To Calculate Compound Interest (2841 Views)
| Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by PatEinstEin(op): 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] |
| 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(op): 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 ; } |
| 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!!! |
| Re: Pls Help: Write A Program In Visual Basic To Calculate Compound Interest by PatEinstEin(op): 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(op): 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: I don't mind bro. Thanks. Ezechinwa: Pls post itI promise to post it tomorrow God's willing.. |
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
Futo Aspirants Whatsapp Group( Drop Ur Numbers) • Horrible State Of Unity School In Ondo State. • Ten Things Every University Fresher In Nigeria Should Know


;