Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //pseudocode
- /*
- int count = 0;
- for(float x = 1.0; x >= 0.0; x = x*.5){
- count++;
- // make sure you format this x part to two decimal places in the cout statement below
- cout << count << " "<< x << endl;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment