how do I make a program in c++ if I want to count the frequency of words in a string array (if a word get count before i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

how do I make a program in c++ if I want to count the frequency of words in a string array (if a word get count before i

Post by answerhappygod »

how do I make a program in c++ if I want to count the frequency of words in a string array (if a word get count before it will never count it again)For example (if string array has words:"hello","boy","book","hello" in here there are two words 'hello' if array start to count then it will just count it twice not double twice)
use header file iOSstream, strings
pls write the code also and use c++ santex
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply