Pseudocode is one way to express the algorithm.It mainly based on english words and vb keywords.Really pseudocode is a description of high level language.
Components
Variables
input/output
assignment
selection
repetition
Variable - It has certain value and name.Really it assign some value at that time of running
Input - Getting data from user according to the process.
Output - Display their needs as results.
Assignment - It means that currently some value to variable
eg: t = 8
Selection - Explain simple scenario
When an electricianmeter reader usually visits home to read the machine.
if house was opened read the bill and hand out
else print the average of last 3 months
Repetition - Explain same as
In a company products were produced by workers
if it is packed without damage sent to sale
else sent to production team to reproduce.
Components
Variables
input/output
assignment
selection
repetition
Variable - It has certain value and name.Really it assign some value at that time of running
Input - Getting data from user according to the process.
Output - Display their needs as results.
Assignment - It means that currently some value to variable
eg: t = 8
Selection - Explain simple scenario
When an electricianmeter reader usually visits home to read the machine.
if house was opened read the bill and hand out
else print the average of last 3 months
Repetition - Explain same as
In a company products were produced by workers
if it is packed without damage sent to sale
else sent to production team to reproduce.
Comments
Post a Comment