diff --git a/String_freq b/String_freq new file mode 100644 index 0000000..c972bed --- /dev/null +++ b/String_freq @@ -0,0 +1,33 @@ +import java.util.*; +class String1 +{ + public static void main(String args[]) + { + Scanner sc=new Scanner (System.in); + System.out.println("Please enter a sentence"); + String str=sc.nextLine(); + int l=str.length(); + String str1=str.toLowerCase(); + int va=0, ve=0,vi=0, vo=0,vu=0; + for(int i=0;i