Write a for loop that prints the values 1 2 4 8 16 32 64 by


Write a for loop that prints the values 1 2 4 8 16 32 64 by increasing the value of a counting variable by a factor of two in each cycle.

Solution Preview :

Prepared by a verified Expert
Macroeconomics: Write a for loop that prints the values 1 2 4 8 16 32 64 by
Reference No:- TGS01687367

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)