Computer Science, asked by ishana78, 9 months ago

Write a program to print your
Name , Class and Section and Name of the School in
separate lines. (Java)

Answers

Answered by Karthi2112
3

Answer:

The first line of the main function creates an object of Scanner class which takes the input for the school name. Then the loop will execute 4 times and print the school name for every iteration of the loop in different lines. The line change can be done with the help of print() function.

Explanation:

I Hope U R Crystal Clear With Ur Question... So, Kindly Mark Me As BRAINLIEST If U Like To And Do Rate Me If U Like To...

THANK YOU!!!!!!

Similar questions