In this article, we will discuss the concept of the Cpp code: count vowel, consonant, digit, special character and space using loop in cpp