Difference between revisions of "CSC231 Homework 6 2015"

From dftwiki3
Jump to: navigation, search
Line 94: Line 94:
 
* What is the last number displayed by the loop?  Why?  Is it a valid power of 2?
 
* What is the last number displayed by the loop?  Why?  Is it a valid power of 2?
 
<br />
 
<br />
* Same three questions as above, but assume this time that we are interested in printing powers of 3.
+
* Assume now that we are interested in printing powers of 3.   Is the loop infinite?  Why or why not?  If not infinite, what is the last number printed by the program?
 
<br />
 
<br />
 
<br />
 
<br />

Revision as of 10:53, 4 November 2015

--D. Thiebaut (talk) 10:46, 4 November 2015 (EST)


Page under construction!

UnderConstruction.jpg



...