Computer Science, asked by megha6939, 11 months ago

Write a program in java to store 5 words in a write a program

Answers

Answered by Medhani272007
2
Hi There!!
Here's your answer!!!
Above picture is your answer...

By a Helper!!!
#BeBrainly
Attachments:
Answered by dattarajshinde44
0

Answer:

import java.util.*;

public class Question {

public static void main(String[] args) {

Scanner sc = new Scanner(System.in);

String words;

System.out.println("Enter 5 Words");

words = sc.nextInt();

}

}

Explanation:

Similar questions