[SOLVED] State Sales Tax

25.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (3 votes)

Checkpoints:Documentation
Name
Lab Number, name and purpose of program
Minimum of 4 other meaningful comments in the code (e.g. //Statements is NOT meaningful)
Self-documenting variable names
Input the month and year as one string. Hint: use getline()
Rate of state sales tax of 5.6% is to be a preprocessor directive (this means the identifier name must be all UPPERCASE and begin with #define).
Rate of county sales tax of 3.3% is to be a memory constant declared local to main().
Test data: January 2017 and total collected of 81673.67
Output is to contain your name printed using cout object
Output is to be copied and pasted as a comment below the source code.
Decimal points must be lined up beautifully as shown above. This means you need to use iomanip, setprecision(), fixed, setw() at minimum.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.