JAVA programe to input a sentence and print the smallest word using string concat.
Answers
Answered by
1
Explanation:
Program: public class SmallestLargestWord. public static void main(String[] args){ String string = "Hardships often prepare ordinary people for an extraordinary destiny" String word = "", small = "", large=""; String[] words = new String[100]; int length = 0;
Answered by
1
Answer:
answer given with attachment
hope it helps
Attachments:
Similar questions