// ~cs35/for_1.cpp

/*
	a) complete this function;
	b) Decide whether the "endl" shoud be inside the function
	c) Make another function for which you can send length AND SYMBOL
*/
	
#include "CS35lib.h"

	void drawLine(int length)
	{
		int counter;
		char chara;
		cout<<"What charachter do u wanna use? ";
		cin>>chara;
		for(counter=1; counter <= 7; counter++)
		{
			cout<<chara;
		}
		return;
	}
		

	
// This function draws a line of *'s of a specified length.

	
int main()
{
	int length;
	char symbol;
	cout <<"How long would you like your line? ";
	cin  >>length;
	
	drawLine (length);
	
	
	cout <<endl;
	return 0;
}

/*
cout<<"  ";
	drawLine (length);
	*/
	
