this is what i have and i need to display the actual number name not the number itself.
#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
int beers=99;
while (beers>0)
{
cout <<beers <<" bottles of beer on the wall"<< endl;
cout<< beers <<" bottles of beer"<< endl;
beers--;
cout << "Take one down pass it around" <<endl;
cout << beers << " bottles of beer on the wall"<< endl;
cout << endl;
}
system ("Pause");
return 0;
}
#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
int beers=99;
while (beers>0)
{
cout <<beers <<" bottles of beer on the wall"<< endl;
cout<< beers <<" bottles of beer"<< endl;
beers--;
cout << "Take one down pass it around" <<endl;
cout << beers << " bottles of beer on the wall"<< endl;
cout << endl;
}
system ("Pause");
return 0;
}
Comment