fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int payAmount = 1700; // Amount paid per "period"
  6. int payPeriods = 26; // # of pay periods
  7. int annualPay = payAmount * payPeriods; // Amount paid annually
  8. cout << annualPay;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5324KB
stdin
Standard input is empty
stdout
44200