Computer Science, asked by avinashmurmu99311, 1 year ago

JAVA programe to input a sentence and print the smallest word using string concat.

Answers

Answered by rohit50003
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 dezisantosh
1

Answer:

answer given with attachment

hope it helps

Attachments:
Similar questions