Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
java x 2
Member Avatar for Anu_6

public static void sentencesChecker(String essay) { int count = 0; int countcap = 0; int i , j; for ( i = 0; i < essay.length(); i++) { if (essay.charAt(i) == '.') { count++; } for ( char e= 'A'; e<='Z';e++) { if (essay.charAt(i)==e){ countcap++; } } } System.out.print("\n\t\t" + …

Member Avatar for anand01
0
279
Member Avatar for jengels

I am writing a java program. One of the functions of my program is to count all the uppercase letters in a paragraph of text I import. I am not sure how to set this up. Is it something like, isUpperCase.(char) Any help would be great Thanks

Member Avatar for JamesCherrill
0
4K