Skip to content

Commit 4070b5a

Browse files
committed
Count a character in a string
1 parent a25a3fb commit 4070b5a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

charCount.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
package Java;
1+
/* Find occurance of a character in a string
2+
Input
3+
--------------
4+
* Priyanka
5+
* a
6+
7+
* Output
8+
----------------
9+
* 2
10+
*/
211
import java.util.*;
312
public class charCount {
413
public static void main(String[] args) {

0 commit comments

Comments
 (0)