write a Java program to assign a sentence and find smallest word of the sentence
Answers
Answered by
0
Answer:
STEP 1: START
STEP 2: DEFINE String string="Hardships often prepare ordinary people for an extraordinary destiny"
STEP 3: DEFINE word = " ", small = " ", large = " ".
STEP 4: Make object of String[] words
STEP 5: SET length =0.
STEP 6: string = string + " "
STEP 7: SET i=0.
Similar questions
Computer Science,
5 months ago
Math,
5 months ago
Business Studies,
5 months ago
English,
11 months ago
Math,
1 year ago
Math,
1 year ago