TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
SUNIL GUTTA
NA
1k
392.9k
counting characters & digits ? @text file
Nov 11 2013 12:41 AM
Hi friends
Question is simple and here it goes :) i am looking for a normalized solution :)
Write a C++ program to read the file (irespective of content length i.e 10+ paragraphs ) and count the number of occurrences of each letter (ignore the letter case) and digit found in it.
For example, if the book had a single line (which is of course not the case in original case): "AaBCcc12" the program would display:
A: 2 B: 1 C: 3 1: 1 2: 1
Cheers Ty :)
Kiran
Reply
Answers (
7
)
Stacks -Converting Postfix Expression to Infix Expresion C++
Optimize the loop @ c++