Archive for academic challenge

You are browsing the archives of academic challenge.

Annual Pay

photo credit: Material Boy
This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”.
2.6: Suppose an employee gets paid every two weeks and earns $1700.00 each pay period. In a year the employee gets paid 26 times. Write a program that defines [...]

  • Share/Bookmark

Average of Values

photo credit: psd
This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”.
2.5: To get the average of a series of values, you add the values up and then divide the sum by the number of values. Write a program that stores [...]

  • Share/Bookmark

Restaurant Bill Challenge

photo credit: moriza
This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”.
2.4: Write a program that computes the tax and tip on a restaurant bill for a patron with a $44.50 meal charge. The tax should be 6.75 percent of the [...]

  • Share/Bookmark

Sales Tax

photo credit: Phillip
This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”.
2.3: Write a program that will compute the total sales tax on a $52 purchase. Assume the state sales tax is 4 percent and the county sales tax is 2 [...]

  • Share/Bookmark

Sales Prediction

photo credit: woodleywonderworks
This programming challenge is from an initial C++ programming course I took in Fall 2007. The Chapter (2) was titled “Introduction to C++”.
2.2: The East Coast sales division of a company generates 62% of total sales. Based on that percentage, write a program that predicts how much the East Coast division will [...]

  • Share/Bookmark