(Assume the user enters 38700. Use a calculator.)
#include <iostream>using namespace std;int main( ){ double salary, monthly; cout ≪ "What is your annual salary? "; cin ≫ salary; monthly = static_cast<int>(salary) / 12; cout ≪ "Your monthly wages are " ≪ monthly ≪ endl; return 0;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.