Ive written a small program that stops after computing after it outputs "retroactive pay for 6 months". Why doesnt it continue ? Here's the code:
#include <iostream>
// comments
using namespace std; //introduces namespace std
int main( void )
{ const float raise = .076;
int salary;
int Retropay;
int wholesalary;
cout << "Enter previous salary: \n";
cin >> salary;
cout << "Retroactive pay for 6 months is " << ((salary/12)*raise*6);
cin >> Retropay;
cout << "New annual salary is " <<(salary*(Retropay+Retropay));
cin >> wholesalary;
cout << "New monthly salary is " <<(wholesalary / 6) << endl;
}