SHARE
TWEET

Untitled

a guest May 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     Bottle y;
  2.     y.fill(1.5);
  3.     printf("Bottle Y is %.2lf%% full.\n", y.fullness());
  4.     printf("Oops! We can't take %.2lf!\n", y--);
  5.     printf("Bottle Y is %.2lf%% full.\n", y.fullness());
  6.     printf("Oops! We can't take %.2lf!\n", y--);
  7.     printf("Oops! We can't take %.2lf!\n", y--);
  8.     printf("Oops! We can't take %.2lf!\n", y--);
  9.     printf("Oops! We can't take %.2lf!\n", y--);
  10.     printf("Oops! We can't take %.2lf!\n", y--);
  11.     printf("Oops! We can't take %.2lf!\n", y--);
  12.     printf("Oops! We can't take %.2lf!\n", y--);
  13.     printf("Bottle Y is %.2lf%% full.\n", y.fullness());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top