Skip to content

Commit

Permalink
Count a character in a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Arijit-SE committed Feb 25, 2023
1 parent a25a3fb commit 4070b5a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion charCount.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
package Java;
/* Find occurance of a character in a string
Input
--------------
* Priyanka
* a
* Output
----------------
* 2
*/
import java.util.*;
public class charCount {
public static void main(String[] args) {
Expand Down

0 comments on commit 4070b5a

Please sign in to comment.