(Data Processing) Based on an automobile’s model year and weight, the state of New
Jersey determines the weight class and registration fee by using the following schedule:
Model Year Weight Weight Class Registration Fee
1970 or earlier Less than 2700 lbs 1 $16.50
2700 to 3800 lbs 2 25.50
More than 3800 lbs 3 46.50
1971 to 1979 Less than 2700 lbs 4 27.00
2700 to 3800 lbs 5 30.50
More than 3800 lbs 6 52.50
1980 or later Less than 3500 lbs 7 19.50
3500 or more lbs 8 52.50
Using this information, write a C++ program that accepts an automobile’s year and weight
and determines and displays its weight class and registration fee.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment