alter127.com

C++
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.

Comments (0)
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
}

Comments (3)
Read more...
 
Control technique (Repetition) : nested for condition

nested for condition example:

 

output:

Comments (0)
 
Control technique (Repetition) : for condition Print

for example:

 

 

output:

Comments (0)
 
Control technique (Repetition) : do while condition

do while example

 

 

Output:

Comments (0)
 
<< Start < Prev 1 2 Next > End >>

Page 1 of 2

Polls

What you want to know?
 

Online Guess

We have 1 guest online
Copyright © 2010 alter127.com. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.