Hey dudes and dudettes
I want to do a "mathematical program", i started out like this that i have underneath, and I want to end up the program by first doing an mathematical equation (which i can find out by myself) and present how many days it'll take for him to save up to that amount of money. The thing is, how do I continue with the code to do a multiplacation and division etc.. do u know what i mean?
Thanks in advance,
Micheal
Code:#include <iostream.h> #include <stdlib.h> int main() { int salary,rent,lon; cout<< "How much do you want to save up too? "; cin>> lon; cout<< "\n"; cout<< "How much do you put in your bank per month? "; cin>> salary; cout<< "\n"; cout<< "What is the bank rent per year? "; cin>> rent; cout<< "\n"; cout<< "You want to have "<< lon << " kronor" << " by putting in "<< salary << " kronor per month with a rent of " << rent << " percent per year.\n"; system("PAUSE"); return 0; }