Introducing
Your new presentation assistant.
Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.
Trending searches
You need a plan
1. Identify what exactly the problem to be solved is.
2. Try to understand it as much as possible.
3. Worry about the WHAT not the HOW
- Algorithm not code
I know you think you understand what you thought I said but I'm not sure you realize that what you heard is not what I meant.
Describe what your program will do.
1. Don't worry about how the program will work.
2. Worry about what it will do
1. Formulate overall structure of the program
2. This HOW the program gets done
what a program does, step by step.
the algorithm rather than the programming
language.
Translate the design into a computer language
Finally some code!
A good design can be implemented in any language
Design your test cases.
Try out your program to see if it worked.
Do you get the result you expected?
If there are any errors (bugs), they need to be located and fixed.
Test cases
>>>
What is the Celsius temperature? 0
The temperature is 32.0 degrees Fahrenheit.
>>> main()
What is the Celsius temperature? 100
The temperature is 212.0 degrees Fahrenheit.
>>> main()
What is the Celsius temperature? 37
The temperature is 98.6 degrees Fahrenheit
>>> main()
What is the Celsius temperature? -40
The temperature is -40.0 degrees Fahrenheit.
>>>