Designing a program involves two crucial steps:
-
Identify what you want the program to do.
The first step is fairly easy (because it’s always easy to tell someone else what to do). You might want a program that balances your budget, plays Chinese checkers, or removes the sound of static from a poorly recorded audio file.
-
Tell the computer, step by step, how to do what you want it to do.
The second (and much harder) step is to figure out how to achieve your desired result. This process of telling the computer what to do, step by step, is what programming is really all about regardless of the programming language you ultimately use.
When you have a clear idea about what you want your program to do and you know how you want to make the computer work, the next task is writing the instructions, in a particular programming language, that tells the computer what to do.
