Looking for a Tutor Near You?

Post Learning Requirement »
x

Choose Country Code

x

Direction

x

Ask a Question

x

x
x
x
Hire a Tutor

Class IX And X Programs

Loading...

Published in: Java And J2EE
4,042 Views

ICSE important programs

Jayeeta B / Kolkata

3 years of teaching experience

Qualification: MCA

Teaches: All Subjects, Computer, Computer Science, School Level Computer

Contact this Tutor
  1. Write a program in JAVA to accept a sentence from console and find frequency of each vowels in sentence. import java.io.*, class Prgl public static void frequency()throws IOException BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Type a sentence"); String x=br.readLine(); String y=x.toUpperCase(); int ct1=O,ct2=0,ct3=0,ct4=0,ct5=0; int l=y.length(); for(int char ch=y.charAt(i); System.out.println("Frequency of System.out.println("Frequency of E=" System.out.println("Frequency of 1=1' System.out.println("Frequency of 0=1 System.out.println("Frequency of OUTPUT Type a sentence The cat is sleeping Frequency of A-I Frequency of E=3 Frequency of 1=2 Frequency of 0=0 Frequency of '+ctl); +Ct2); '+Ct5);