DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Computer Science (http://www.daniweb.com/forums/forum14.html)
-   -   flowchart (http://www.daniweb.com/forums/thread157714.html)

mabpest Nov 16th, 2008 3:23 pm
flowchart
 
1 Attachment(s)
can anyone review this flowchart and tell me if it will count print the numbers from 1 to 10?

Rashakil Fol Nov 16th, 2008 8:54 pm
Re: flowchart
 
It looks like a zip file; why don't you just post the flow chart?

mabpest Nov 16th, 2008 11:56 pm
Re: flowchart
 
Quote:

Originally Posted by Rashakil Fol (Post 737465)
It looks like a zip file; why don't you just post the flow chart?

it wont alllow me topost a vsd formatted file it had to be zipped.

ithelp Nov 17th, 2008 2:07 am
Re: flowchart
 
Copy it from vsd and paste it to word document or paint and post the image.

mabpest Nov 17th, 2008 7:57 am
Re: flowchart
 
Quote:

Originally Posted by ithelp (Post 737641)
Copy it from vsd and paste it to word document or paint and post the image.

here is the flowchart in word format see attachment

mabpest Nov 17th, 2008 8:01 am
Re: flowchart
 
1 Attachment(s)
here is the flowchart in ms word format.please take a look!

niek_e Nov 18th, 2008 8:08 am
Re: flowchart
 
Quote:

Originally Posted by mabpest (Post 737298)
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

mabpest Nov 19th, 2008 7:56 am
Re: flowchart
 
1 Attachment(s)
Quote:

Originally Posted by niek_e (Post 738616)
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




Does this flowchart do any better?

niek_e Nov 19th, 2008 8:17 am
Re: flowchart
 
1 Attachment(s)
You're almost there.

In the attachment is a chart I made. (in paint, I don't have visio :) )

Try to finds the differences between yours and mine and try to find out why I made the choices I did. Come back if you have any questions!


All times are GMT -4. The time now is 3:31 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC