Fill in the missing lines so that the program accepts a string S with spaces and prints the same.
Attachments:
Answers
Answered by
0
Answer:
pm narendra modi is the prime minister of India!
Answered by
3
Answer:
Scanner sc= new Scanner(System.in);
String S= sc.nextLine();
System.out.println(S+" ");
Explanation:
Hope it helps!!!
Similar questions
Social Sciences,
20 days ago
Chemistry,
20 days ago
English,
20 days ago
English,
9 months ago
Math,
9 months ago