Question
I have a program in c++ where I take in a input and count how many characters, numbers, and words are in that input. for
I have a program in c++ where I take in a input and count how many characters, numbers, and words are in that input. for example: AAA001aaA1AAa01aaa01bb: this would separate them into words, characters and numbers AAA|001|aa|A|1|AA|a|01|aaa|01|bb|: char times shown A 6 a 6 b 2 : 1 words times shown AAA 1 AA 2 aa 1 aaa 1 bb 1 numbers times shown 001. 1 01 2 1 1 a word counts as anything that is same util something different appears or a word with different letters that is separated bt a space
how do I store each word, number, and character and count how many times that they appear?
Step 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