Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

infinite number of beers on the wall

Name: Anonymous 2011-09-02 21:11

infinite number of beers on the wall
take one down
pass it around
infinite number of beers on the wall

Name: Anonymous 2011-09-03 1:20


#include <iostream>
#include <limits>
using namespace std;

int main() {
    float beers = numeric_limits<float>::infinity();

    cout << beers << " number of beers on the wall" << endl
         << "take one down" << endl
         << "pass it around" << endl
         << --beers << " number of beers on the wall" << endl;

    return 0;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List