Professional Documents
Culture Documents
Project
Project
Write a
program in Java to accept a name(Containing three words) and Displavoml
the initials (i.e., first letter of each word). only
Sample Input: LAL KRISHNA ADVANI
Sample output: L KA
4 Write a nrooram in laxra to accAnt o name containina throA uzardo and J
Write a program in Java to accept a String in upper case and replace all the vowes
present in the String with Asterisk (*) sign.
3) Sample Input: "TATA STEEL IS IN JAMSHEDPUR"
Sample output: T*T* ST**L *S *N JMSH*DP*R
ard b z ioining all the fis
rite a program to accept a word and convert it into lower if it in upper case
case, is
Display the new word by replacing only the vowels with the letter following it.
Sample Input: computer
Sample Output: cpmpvtfr [ICSE 2011]
6. JWrite a program to inputsentence. Count and
a
display the frequency of each letter
of the sentence in alphabetical order.
Sample Input: COMPUTER APPLICATIONS ICSE 2010
Sample Output:
Character Frequency Character FrequencyY
A 2 O 2
P 3
C 2
I 1 R
L 2 S
T
M
1
U
N
case letters. Count
into upper
Convert the string
ite program to accept a string. that exist in
the string
string.
sequences
double letter AN APPLE"
and u
output the
p u t the
number of LITTLE
RABBIT WITH
31 FEEDING
THE [ICSE 2012]
Sample Input:
ut: "SHE WAS
Sample Output: 4
8 . Special words are those words which start and end with the sanme letter.