Write a C++ program that reads characters from a text file. The program changes each letter by the next
letter in the Alphabet. For example, the lower-case letter ‘a’ is changed ‘b’; ‘b’to ‘c’; ……. , and ‘z’ to
‘a’. Similarly, for upper-case letters, ‘A’ is changed to ‘B’, ‘B’ to ‘C’; ……, and ‘Z’ to ‘A’. Digits and
special characters in the text are left unchanged. The program also determines the number of
occurrences of the alphabetic letters and the number of occurrences of digits “0” to ‘9’ in the input text.
amjed9999 0 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.