8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d3b7e1 commit 3f37a05Copy full SHA for 3f37a05
String/CountChar.java
@@ -1,5 +1,16 @@
1
import java.util.Scanner;
2
-
+/*
3
+Q= Occurence of each letter without using inbuilt function.
4
+ i/p - java is easy
5
+ o/p - j - 1
6
+ a - 3
7
+ v - 1
8
+ - 2
9
+ i - 1
10
+ s - 2
11
+ e - 1
12
+ y - 1
13
+*/
14
public class CountChar{
15
public static void main(String... arg){
16
Scanner sc = new Scanner(System.in);
@@ -25,6 +36,6 @@ public static void main(String... arg){
25
36
else
26
37
count=0;
27
38
}
28
-}
39
+ }
29
40
30
41
0 commit comments