Question: Solve these question in c language ( scanf , printf , stdio.h ) 1. Input a text string from user and count number of spaces
Solve these question in c language ( scanf , printf , stdio.h ) 1. Input a text string from user and count number of spaces in it For example if user enters I am a student in KFU. Then you answer should be Number of spaces in text is 5 2. Change exercise 1 and find frequency of a character in it the character should be given by user( For example if user enters a string I am a student in KFU And then user enter a character a Frequency of a is 2 (appears twe times in string) 3. Input the first and second part of your name and combine the two parts. Display the combined name. Use streat(s1, s2) for this assignment 4. Input a text string from user and count vowels in the text. Display the vowel count to user 5. Input the names of two people in your program and compare the names whether they are same names or not. User stremp(s1, s2) 6. Input your name as text string and print your name in reverse order, For example if name is abedef Then you answer should be fedcba 7. Input a word from user, reverse the word and compare with original word, check whether reversed word is same as original or not. Such words whose reverse is same as original are called Palindromes e.g. racecar, deed, madam etc. 8. Input a text string from user and delete vowels in the text. Display the text to user after deletion ofall vowels
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
