// ~cs35/string_00.cpp
//Run once with just your first name; then with your full name.
#include "CS35lib.h"

int main ()
{
	char name[100];   // How do you declare NAME as a variable?
	int number, count;
	cout << "Enter your name: ";
	//cin >> name;
	getline(name);	// this will read all the line ignoring spaces, so u can have                           	  		
						// 1st and 2ed names
	cout << "How many times would you like to be greeted? ";
	cin >> number;
	for (count = 1; count <= number; count ++)
	{
		cout << "Hello, "<<name<<endl;
	}
	return 0;
}
		
