KNOW:
BE ABLE TO:
Sample Exam Question:
You and your friends decide to order a pizza and share the cost according to how many slices you eat. The pizza is cut into 8 slices. You eat 3 of them. If the pizza costs $12, how much should you contribute? Write a program to perform the computation.