Algorithm and Flowchart Example
Algorithm and Flowchart Example
This problem is also solved using the loop concept. We take a variable
count and set it to zero. Then we print "Hello World" and increment count by
1.
i.e., count = count + 1
Next we check if count is less than 10. If this is TRUE then we again print
"Hello World" and increment the variable count. On the other hand if the
condition if FALSE then we will stop.
Algorithm:
To log in to facebook account we first enter the facbook URL www.facebook.com in our
browser like Google, Firefox, Safari, Internet Explorer etc. This request is sent to the
facebook server and it responds by sending us the home page of facebook.
Next, we enter our registered Email ID and Password and click the Login button.
Then our login credential is checked. If it is correct, we are show our profile. On the other
hand, if the login credential is wrong then an error occurs and we are prompted to re-enter
our Email ID and Password.
Algorithm:
Algorithm: