I have heard about pseudo code and it is said that it is a very powerful programming tool. What are the advantages of writing pseudo code? How can I write a pseudo code for a program to add any two numbers in QBASIC. Is pseudo code written for high-end programs like antivirus and operating system?
What is the meaning of pseudo code?
Hi Marco,
Â
Pseudocodes need not be in the form of any programming language. They can not be executed in an actual programming environment but they are sufficient to convey the logic for attaining the given objective.Â
Â
The below steps represent a pseudocode for the given objective which is to add two numbers in QBASIC.
Â
Declare Num1 as IntegerÂ
Declare Num2 as IntegerÂ
Declare Result as IntegerÂ
Input Value for Number1Â
Input Value for Number2Â
Let Output = Number1 + Number2Â
Display the output
Â
Regards,
Anyet