// testIsNaturalNumber1.cpp
#include "textUtility.h" // includes <iostream> and <string>
void testIsNaturalNumber(string text);
int main()
{
cout << "This program tests the function isNaturalNumber." << endl;
cout << "Enter a string:>";
string text;
getline(cin, text);
testIsNaturalNumber(text);
} // function main
void testIsNaturalNumber(string text)
{
cout << "Your function thinks \"" << text << "\" ";
cout << ( isNaturalNumber(text) ? "DOES" : "does NOT" );
cout << " represent a natural number." << endl;
} // function testIsNaturalNumber