Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SIDE NOTE: C++ LANGUAGE PLEASE Write a program that reads in an unknown number of characters from a file (A3Q1.dat) and then outputs to the
SIDE NOTE: C++ LANGUAGE PLEASE
Write a program that reads in an unknown number of characters from a file (A3Q1.dat) and then outputs to the screen. Haney's Character Counte the characters read displayed 10 per line with 2 spaces in between them. the total number of characters read from file the number of digits read and the % of the total characters read this represents the number of uppercase letters read and the % of the total characters read this represents the number of lower case letters read and the % of the total characters read this - - he file exieted but a eauty Strange.. hank you For using the Character Maniulater Figure 2 File eaists but is empty -the number of spaces read and the % of the total characters read this represents -the number of the remaining characters and the % of the total characters read this represents Naney"s Character Counter You need to account for the possibility that the file does not exist (Figure 1) and the file is empty (Figure 2) fron fila are Figures 1 to 4 show you a sample outputs. Your output does not have to be identical to these but must contain the same information. ota112 aharoctero in te a ner of dpetca Nancys Character Counter tho data f file r s-@-+-?-/-)-??--[-]-(-)-,-- lett"to pt tetal characters) orry! Could not open file. Progran ending. oner *i3. b eetas toro hank yea for ?"ig the Character Manipulator Nancy's Chorac ter Counter cters read Fron ile are: here i -fi total of 18 characters in the data, filo" Nunher of digits; 7?78.ggoe ef total characters) 30.0 of tetal charactera) e For usiy the Character Hanipulator.. Figure4-Example 2 of file with dataStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started