Computer Science, asked by saidayakar345, 1 month ago

Fill in the missing lines so that the program accepts a string S with spaces and prints the same.

Attachments:

Answers

Answered by rajeshwari973135
0

Answer:

pm narendra modi is the prime minister of India!

Answered by swapnap18
3

Answer:

Scanner sc= new Scanner(System.in);

String S= sc.nextLine();

System.out.println(S+" ");

Explanation:

Hope it helps!!!

Similar questions