Quote Originally Posted by mikerush7 View Post
I checked the page "How do i get a number from the user", but still did not understand how to fix it
What's your problem with this page?

Basically you have to decide if you want to use scanf() or write your own validation function. From your assignment description it seems you have to write your own, right?
Do you know already how strings work in C and how to get them from the user?

Bye, Andreas