No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi.. Could anyone help me to find out why this program cannot count the frequency of each alphabet? There is a output for calculating the total lines and length but not the frequency.Appreciate any help. Thanks! [CODE] int main() { const int MAXLENGTH=10; const int MAXCHARS=10000; static double i[26]; char … |
|
Hi, I have a text file with characters. I must able to read the length of characters in the file by every line and count the frequency of each characters for each line. I have tried on writing this program but this does not work. Can anyone help me on … |
|
Hi, I am newbie to c++. I would like to en quire on how to calculate the number of same alphabet in a string that we enter? For example if let say i have entered ABAAGAYHAUIJA and it should return 6. Here's my code. [CODE]#include <iostream> #include<conio.h> using namespace std; … |