*No library functions may be used only getchar, putchar, gets, puts
Part 1 (Stand alone project)
-Code a function to generate a string, s1, containing a random pattern of upper case letters 'A' - 'Z' (length 40 characters)
-Code a function to allow the user to enter a string, s2, (minimum length 2 characters, maximum length is 20 characters, actual length is user's choice) containing a random pattern of upper case letters A - Z and then a replacement character, c.
-code user defined function, strfilter(s1,s2,c) that searches s1 and replaces any occurrences of any of the characters contained in s2 with the character c.
-output the generated string, the 'user entered' string, and the filtered string from the main program.
ex)
s1 = {"FFEKDKCDIWUTHSXNGHSOWITYEHBCGGDLSOWITYIT"}
s2 = {"AL"}
c = {"*"}
filtered s1 = {"fjk*SIOEFN***KJVOIUP*WENFK****KYUFGIOE*PVNO*"}
-Allow the user to enter multiple strings, (s2), if desired. Use the original random string for all comparisons.
-Code function to create random numbers by using the library function RAND 0-32767. The modulus operator can be used to change the range to 0-25. Generate the random string only once.
*Strings must terminate with '\0'. Do not user pointers or globals.
Part 2 (Stand alone project)
-Modify Part 1 by replacing all array notation with pointer notation. However arrays must still be defined. No subscripts in functions. Use pure pointer notation.
Hi! You seem stuck entangled in those strings :) Have no fear, I can solve your problem in no time! I'm experienced in c programming, and have done many similar projects before.