Horizontal Nav

Wednesday 3 June 2015

C++ IDE and Algorithm

C++ IDE:

Turbo C++ is an integrated development environment (IDE) to write C++ programs. It is the implementation of Borland International. It is used to create, edit and save C++ programs. It also provides a powerful debugger. The debugger helps the users in detecting and removing errors in programs.

Algorithm & Pseudo Code:

An algorithm (pronounced AL-go-rith-um) is a step-by-step procedure to solve a problem. The process of solving a problem becomes simpler and easier with the help of algorithm. It is better to write algorithm before writing the actual computer program.

Examples of Algorithms

Step 1: Start
Step 2: Declare variables num1, num2 and sum.
Step 3: Read values num1 and num2.
Step 4: Add num1 and num2 and assign the result to sum.
        sum←num1+num2
Step 5: Display sum
Step 6: Stop
                                                                                         

No comments:

Post a Comment