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
Basic Computer Science: Write a for loop that prints the values 1 2 4 8 16 32 64 by
Reference No:- TGS01688928

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)