• C

need a simple password program

This is really a simple C program but aim not familiar with C and I don’t I need it urgently.
A program to take in a password from a user and compare it with a password set within the program.

The users input should be reversed so that the order of the characters is reversed therefore it should compare nask with ksna
In addition It would be able to determines the difference between upper case and lower case chars.

thanks for the help
LVL 3
wadalhagAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grg99Commented:
the rules here say you need to make a stab at it first.

Hint:  first line:

char pw[100];

fridomCEO/ProgrammerCommented:
You don't need it urgently so you have enough time to sit dow and start.
Hint 1 was given above here's hint2.

strcmp may be of good use.

Now it's you term ;-)

Regards
Friedrich

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.