C++ Assignment 1
C++ Assignment 1
1. Assume that you are going to accept 3 numbers from the keyboard and
choose the one that is larger than others.
A. Draw the flowchart to determine larger number among them./2 pts
B. Write the C++ program that identifies the larger number among
them./3 pts/
2. A company wants to give all employs a bonus of 10% of their salary. For
employs who have been working in the company more than 14 years
would set an additional 5000 birr. Based on this information,
A. Draw the flow chart. /2 pts/
B. Write the actual C++ program for the company. /3 pts/
3. Suppose that you are going to accept a number and identify whether it is
even or odd.
A. Draw the flow chart. /2 pts/
B. Write the actual C++ program. /3 pts/
Good luck.