0% found this document useful (0 votes)
25 views

Write A Function in C++ To Count The Number of Alphabets Present in A Text File

The document provides instructions for writing C++ programs and functions to read and analyze text files. It asks the reader to write code that can read a file called "temp.txt" and display its contents, count the alphabets in "temp.txt", count the digits in "demo.txt", and count the vowels in "abc.txt". It also asks the reader to write a function that takes the file "Test.txt" and creates three new files - "LOWER.TXT" containing lowercase vowels, "UPPER.TXT" containing uppercase vowels, and "DIGIT.TXT" containing all digits.

Uploaded by

Pratap Adimulam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Write A Function in C++ To Count The Number of Alphabets Present in A Text File

The document provides instructions for writing C++ programs and functions to read and analyze text files. It asks the reader to write code that can read a file called "temp.txt" and display its contents, count the alphabets in "temp.txt", count the digits in "demo.txt", and count the vowels in "abc.txt". It also asks the reader to write a function that takes the file "Test.txt" and creates three new files - "LOWER.TXT" containing lowercase vowels, "UPPER.TXT" containing uppercase vowels, and "DIGIT.TXT" containing all digits.

Uploaded by

Pratap Adimulam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Write a C++ program to read the contents of a file temp.

txt and display it


on monitor.
WriteafunctioninC++tocountthenumberofalphabetspresentinatextfile
temp.txt
Write a function in C++ to count the number of digits present in a text file
demo.txt
Write a function in C++ to count the number of vowels present in a text file
abc.txt
Assume a text file Test.txt is already created. Using this file, write a function
to create three files LOWER.TXT which contains all the lowercase vowels
and UPPER.TXT which contains all the uppercase vowels and
DIGIT.TXT which contains all digits.

You might also like