write a program to print your name id school name and class
Answers
Answered by
0
Answer:
Code Explanation:
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.
Answered by
0
Answer:
Code Explanation:
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:
hope it'll help
Similar questions