Thread: flowchart
View Single Post
Join Date: Oct 2006
Posts: 2,997
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 308
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Re: flowchart

 
0
  #7
Nov 18th, 2008
Originally Posted by mabpest View Post
can anyone review this flowchart and tell me if it will count print the numbers from 1 to 10?

No it won't. If you would just draw out a table on paper with "count", "factoral" and the product of both, you could have easily found out that it counts from 100-10 .
Besides, why use an addtional variable anyway? Why not do something like:

count = 0
count = count + 1
if count <= 10 print count
else -> end
Reply With Quote