String Programs

1.Input and print a string
Write a program to input a string from the user and print it.

2.Find the length of a string
Write a program to find the length of a string without using strlen().

3.Count vowels, consonants, digits, and spaces in a string

Write a program to count how many vowels, consonants, digits, and white spaces are present in a string.

4.Convert string to uppercase and lowercase
Write a program to convert a string to uppercase and lowercase without using strupr() or strlwr().

5.Reverse a string
Write a program to reverse a string using a loop.