I'm not quite sure where exactly I should post but since this included C in the title I decided to come here.

I have a project to do for class and I'm working on my getInput function to get the input for the number of rows and columns from the user. I have the function all coded and I know how to get the number of rows sent back...I guess my question is just is there anyway in the printf statement that I could have it ask for rows the first time the function is called and columns the second time. So I don't have to write a second function to get the column input from the user.

I think that's about the best I can ask it. If it's too confusing I'm sorry I'll try to explain it better if anyone asks.