#include <string>
#include <iostream>
int main( )
{
unsigned nBills;
std:: cout << "How many bills will you enter?\n " ;
std:: cin >> nBills;
std:: string * bills = new std:: string [ nBills] ;
std:: cout << "Please enter the bill names.\n " ;
std:: cin >> std:: ws ; // Remove leading whitespace.
for ( unsigned i= 0 ; i< nBills; ++ i )
std:: getline ( std:: cin , bills[ i] ) ;
std:: cout << "The bills you entered are:\n " ;
for ( unsigned i = 0 ; i < nBills; ++ i)
std:: cout << '\t ' << bills[ i] << '\n ' ;
}
I2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKQp7CiAgICB1bnNpZ25lZCBuQmlsbHM7CgogICAgc3RkOjpjb3V0IDw8ICJIb3cgbWFueSBiaWxscyB3aWxsIHlvdSBlbnRlcj9cbiI7CiAgICBzdGQ6OmNpbiA+PiBuQmlsbHM7CgogICAgc3RkOjpzdHJpbmcqIGJpbGxzID0gbmV3IHN0ZDo6c3RyaW5nW25CaWxsc107CgogICAgc3RkOjpjb3V0IDw8ICJQbGVhc2UgZW50ZXIgdGhlIGJpbGwgbmFtZXMuXG4iOwoKICAgIHN0ZDo6Y2luID4+IHN0ZDo6d3MgOyAgLy8gUmVtb3ZlIGxlYWRpbmcgd2hpdGVzcGFjZS4KICAgIGZvciAoIHVuc2lnbmVkIGk9MDsgaTxuQmlsbHM7ICsraSApCiAgICAgICAgc3RkOjpnZXRsaW5lKHN0ZDo6Y2luLCBiaWxsc1tpXSk7CgogICAgc3RkOjpjb3V0IDw8ICJUaGUgYmlsbHMgeW91IGVudGVyZWQgYXJlOlxuIjsKICAgIGZvciAodW5zaWduZWQgaSA9IDA7IGkgPCBuQmlsbHM7ICsraSkKICAgICAgICBzdGQ6OmNvdXQgPDwgJ1x0JyA8PCBiaWxsc1tpXSA8PCAnXG4nOwp9
stdin
NQpDYXBpdGFsIE9uZQpRdWVzdGlvbmFibGUgSW50ZXJuZXQgUG9ybiBDb21wYW55CkRvbmtleSBTaXR0ZXJzCldpbGRsaWZlIENvbnNlcnZhdGlvbiBGdW5kCk11ZCBXcmVzdGxlcidzIEFub255bW91cwo=
5
Capital One
Questionable Internet Porn Company
Donkey Sitters
Wildlife Conservation Fund
Mud Wrestler's Anonymous