// String Manipulation // string_manipulation.c // // This program was written by YOUR-NAME-HERE (zXXXXXXX) // on INSERT-DATE-HERE // // This program has some string practice including: // - declaring & initialising // - printing // - scanning a string // - count vowels and consonants // - check string equality (check if 2 strings are the same) // - reverse a string // - string concatenation (adding a string to the end of another) // - title case conversion (every first letter in a word becomes a capital) // - count words (words are a series of characters surrounded by spaces) #include #include #include #define MAX_STR_LEN 1024 // Note that this activity has no autotests so it is up to you to check // if your program is running successfully!! int main(void) { // MOST IMPORTANT/USEFUL: // TODO: Declare & Initialise a String to "Hello World!" // TODO: Print a string // TODO: Scan a string from stdin // TODO: Remove the newline // TODO: Check if a string is the same as another // If different, print which is first in the alphabet // LESS IMPORTANT/EXTRA PROBLEM SOLVING (time permitting) // TODO: Count Vowels and Consonants // TODO: Copy a string into another // TODO: Reverse a String // TODO: String Concatenation // TODO: Title Case Conversion // TODO: Count Words // TODO: move code sections into functions }