Bahria University
Lahore Campus
Department of Computer Science
Computer Programming (CSC-113)
Lecture-01 Handouts
Why C++?
[Link]
[Link]
[Link]
[Link]
The following is an algorithm for making a cup of tea.
[Link]
1. Put the teabag in a cup.
2. Fill the kettle with water.
3. Boil the water in the kettle.
4. Pour some of the boiled water into the cup.
5. Add milk to the cup.
6. Add sugar to the cup.
7. Stir the tea, and it is ready.
You may modify the above program to fix it to suit your available environment, and to fix any issues that
you may find in the given program/algorithm.