fork download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. using namespace std;
  5.  
  6. int main ()
  7. {
  8. double payAmount = 1700.0;
  9. double payPeriods = 26;
  10. double annualPay = payAmount * payPeriods;
  11.  
  12.  
  13.  
  14.  
  15. cout << "The total annual pay is : " << annualPay << endl;
  16.  
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
The total annual pay is : 44200