No and tbh i don't think that i could do that haha, i don't know how to do it...
Type: Posts; User: MrLowBot
No and tbh i don't think that i could do that haha, i don't know how to do it...
Very true. Trying to figure it out atm.
1. I had to test the text a lot to notice that everytime i did put a whitespace before any new line within a text that had a uppercase letter in the begining was
taking into a count but without...
Two questions.
1. Why do i need to put a space at the start of every new line? Ideas?
2. Why do i not get the value of whitespaces that i am meant to get?
I get 701 but i should get 728....
The question is :
Write a program CountChar.java, counting characters of different types in a text read from a file. Give the number of characters of the following types:
Upper case...
I actually almost got it working with as little code as possible.
However it is only giving me the exact correct numbers for the lowercase letters and not the rest.
Looked at API for a while. I...
It is meant to test for up/low cases, digits and whitespaces within a text file.
Real title : Cannot convert char to boolean!
Hello.
This code is meant to be able to take any text and count the uppercase letters, lowercase letters, whitespaces and digits (well not really...