Posts

Showing posts with the label algorithm for beginners

ALGORITHM

                      ALGORITHM Hello friends algorithm is basic thing for programming so we will start learning algorithm first Characteristics of algorithm:- 1. Input 2.Process 3.Outpot 4.Finiteness 5.Effeciveness Input: .    by using inputs step we will give input to our algorithm, there may be zero or more than zero inputs Example:- enter the value of a and b Process:-  By using Process step ,the algorithm will do some arithmetic calculation or logical operation Example:- c=a+b Output:-     There must be at least one output and it is unique Example:-  print the value of c Finiteness:-  The algorithm must end after completion of certain steps. Effectiveness:- Every steps of algorithm must accurate If any doubt ask in comment. Visit next part for further information