C/C++ Program to Count Number of Uppercase and Lowercase Letters in a File

Write a program to count the number of uppercase and lowercase letters ( characters ) in a file in C/C++. For example, Text File Content Hello, My name is John Smith Nice to Meet You Output Uppercase: 7 Lowercase: 28 The logic to count the number of uppercase and lowercase from a file is very … Read more C/C++ Program to Count Number of Uppercase and Lowercase Letters in a File

C Program to search a word in a given file and display all its position

Write a program to find a word in a given file and display all it’s positions in C. Example, Input Text File Hello My name is John Smith John is a Good man. John is very Tall. Please stop talking John Go to principle office John Smith Word to Search John Output Line: 0 Column: … Read more C Program to search a word in a given file and display all its position