Archive for C++
You are browsing the archives of C++.
You are browsing the archives of C++.
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 [...]
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 [...]
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 [...]