Algorithms and Its Design

 Algorithms and Its Design. 

If you dont know "What is The Algorithm ?"

click HERE 👈

DESIGN :- 

How to write a Algorithm       


                                                                                                                                                                                                  ONE Example Very Simple

Design  like this Example 

Steps by steps

  1. Start
  2. Take a and b
  3. Now Set a=a+b
  4. Set b=a-b
  5. Set a=a-b
  6. print a 
  7. End


Let's  Put The Values: 

        {
         a=10,b=15
        a=10+15   (a=25)
        b=25-15   (b=10)
        a=25-10   (a=15)
     a=15
}

That's all
Algorithms and Its Design Algorithms and Its Design Reviewed by Cyber...X...Soul on November 02, 2021 Rating: 5

No comments:

Powered by Blogger.