Write a program that accepts an integer between 1 and 12 from the keyboard and prints the fi rst
three letters of the corresponding month. For instance, keying in 3 should print Mar. All month
names must be extracted from a single string without using an if or switch statement.
Develop a function named char_replace(s, c1, c2) which replaces all occurrences of the
character c1 in the string s with c2 and returns the number of characters replaced.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here