Input "given" -> Process -> Desired Output -> End User ---->return back to Input
-
Define input / output :
- Input -> What is the input to the algorithm? and where can i store it .
- Output -> What is the output of the algorithm? and where can i store it.
-
How to get & store input :
- How to get input -> Platform for input and output. ( Comunication between user and program)
- Console "CMD"
- Web App
- Mopile App
- Desktop App
- How to store input -> How to store the input in the program.
- Type
- int , float, double, char, string, bool
- count -> Number of values.
- single value -> variable
- Multiple value -> Array, List
- How it operate -> data structure
- Array -> fixed size
- List -> dynamic size
- Stack -> LIFO ( Last In First Out)
- Queue -> FIFO( First In First Out)
- Type
- How to get input -> Platform for input and output. ( Comunication between user and program)
-
How to represent output : -> Conslole (Representation of output)
-
Convert above to C# / real syntax :
- Convert to C# -> Convert the above steps to C# syntax.
-
define the process steps :
-
Define the process steps -> Define the steps to be followed in the algorithm.
1- Process - Single Task - Multiple Task - Loop -> For, While, Do While - Condition -> If, Else If, Else - Switch Case
2- Function - user defined function
-
-
Implement the process :
- Convert to Code.
-
integrate the program parts