You can take a char array and store the number in it and then take another character variable to hold the number for which u want to find the occurence.
Then take a for loop and compare the entered character with each element of char array
.....and count the total occurence in that for loop
I'm still a beginner, don't really know how to write the coding. Could you help me out?
In that case you need study your books first and then post in forums(if you are stuck somewhere)....see the rules....i could have posted the code for you but that would not help you much....show some effort.....
I've been working on this for 2 weeks and have done my share of studying. The reason I'm posting here is because I really need help. I understand the logic and the sequence in which it must be written in, but I'm really stuck with the coding.
I've been working on this for 2 weeks and have done my share of studying. The reason I'm posting here is because I really need help. I understand the logic and the sequence in which it must be written in, but I'm really stuck with the coding.
Basically, you're going to have to post your existing code to show that you've put in some effort.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.