Algorithm to display 1 to 20

Algorithm:

Step 1: Start
Step 2: Initialize X as 0
Step 3: Increment X by 1
Step 4: Print X
Step 5: If X is less than 20 then go back to step 3
Step 6: Stop

No comments

Theme images by Jason Morrow. Powered by Blogger.