Just need a little help for this one. I'm beginning to learn how to use functions, and I need for this one to output a straight line based on how long the user wants it, and what fill character they want. How can I do that? I tried a few different ways to get the line to output but it hasn't worked yet
Here's my code so far:
My code keeps terminating now right after I ask for the width..? I have no idea why it's doing this. It terminates right before the user gets to enter the width.