- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hello all! I am typing in some code from an example in my book, but it shows the absolute value symbol, I believe, looking similar to " l l ", but it can't be just to lower case Ls spaced apart like I just made that...or is it? If not, … | |
[code=CPP]#include <iostream> using std::cout; using std::cin; using std::endl; void Calculate( double ); int main() { int worked; double salary; double pay; cout << "Enter the hours worked: (-1 to end)" << endl; cin >> worked; cout << "Enter the salary: " << endl; cin >> salary; while( worked > 0 … | |
This is what I need to do: Use a single-subscripted array to solve the following problem: A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in … |