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
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
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.