Ask your own question, for FREE!
Mathematics 15 Online
OpenStudy (calculusxy):

What output does the following program fragment produce? Make a flowchart for this program. i = 1; while (i <= 256) { printf("%d ", i); i = i * 2; }

OpenStudy (calculusxy):

@jango_IN_DTOWN

OpenStudy (jango_in_dtown):

so output you can check from your compiler.. Do you need the flowchart?

OpenStudy (calculusxy):

Yes!

OpenStudy (jango_in_dtown):

so basically this program gives all the values of 2^n, where n starts from 0 and ends in 8, you may see from this view points as well..

OpenStudy (calculusxy):

So what flow chart do I make?

OpenStudy (jango_in_dtown):

wait.. let me post it

OpenStudy (jango_in_dtown):

|dw:1475948614852:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!