Skip to content

Commit 225608a

Browse files
committed
Find number of lowercase in a String
1 parent 4070b5a commit 225608a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Count_LowerCase.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Find number of lower case
2+
* AriJIt = 3
3+
*/
4+
15
import java.util.*;
26
public class Count_LowerCase {
37
public static void main(String[]args)
@@ -7,6 +11,13 @@ public static void main(String[]args)
711
String s = sc.nextLine();
812
char[] arr;
913
arr = s.toCharArray();
14+
/* Other process to create character array
15+
******************************************
16+
for(int i=0; i<s.length(); i++)
17+
{
18+
arr[i] = s.charAt(i);
19+
}
20+
*/
1021
for(int i=0; i<arr.length;i++)
1122
{
1223
if(Character.isLowerCase(arr[i]))

0 commit comments

Comments
 (0)