Question
CODE IN C LANGUAGE Generate Random Passwords Generate random password based on the specification. Usage: randompwd Note: Special characters are limited to !@#$%^&*+:; Example: randompwd
CODE IN C LANGUAGE
Generate Random Passwords Generate random password based on the specification. Usage: randompwd Note: Special characters are limited to !@#$%^&*+:; Example: randompwd 7 10 2 2 2 2 Sample outputs: 8l;qHhjG@4 DuZc^*F0m6 Hint: C string is nothing but an array of characters. You can use something like char password[100];
Compare Strings compstr.c
Get 2 lines of input (2 strings) Compare both strings ignoring the white spaces and output whether they are same or not. Ignore case as well. Example these qualify as same strings. compstrEnter String #1: I love Music Enter String #2: Ilo vemu sic Both strings are same!
Hint: Use fgets() to get the whole line as input. tolower() or toupper() can be used to convert to lower or upper case.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started