|
Basic to Psudocode and Flowchart |
|
Hi all,
So here is the basic tutorial of making a pseudocode and flowchart. Pseudocode is importance to help the programmer understand the structure of the system that they want to built. From pseudocode, flowchart was created to enable them see it clearly the flow of the system/program visually.
We can use Microsoft Visio Basic to create a pseudocode and flowchart.

Various of chart selection. Chose the Basic Flowchart diagram.
|
|
Read more...
|
|
|
function declaration, defination and call |
|
#include <iostream> using namespace std; void sum(int, int); // function declaration
void main() { int num1, num2;
cout<<"Please enter 2 interger value:\n"; cout<<"Value 1: "; cin>>num1; cout<<"Value 2: "; cin>>num2;
sum(num1, num2); //function call }
|
|
Read more...
|
|
Control technique (Repetition) : nested for condition |
|
nested for condition example:

output:

|
|
Control technique (Repetition) : for condition |
|
|
for example:

output:

|
|
Control technique (Repetition) : do while condition |
|
do while example

Output:

|
|
|
|
|
<< Start < Prev 1 2 Next > End >>
|
|
Page 1 of 2 |