Computer Science, asked by ayashkantajana, 8 months ago

Question 1. Write a program in Java to enter a String/Sentence and display the longest word and the length of the longest word present in the String. Sample Input : TATA FOOTBALL ACADEMY WILL PLAY AGAINST MOHAN BAGAN Sample Output : The longest word = FOOTBALL The length of the word = 8 Question 2. Write a program to accept a word (say BLUEJ) and display the following pattern : J E E U U U L L L L B B B B B

Answers

Answered by BrokenWitch
0

Answer:

rushers,tkhmrgskeuwtwcfeffceekeje

Similar questions