Write a method Met that prints the numbers from 1 to 10.
Only write the method - assume that the Main class & main method have been defined.
Print the numbers on a single line, separated by a space character. At the end of the line, print a new line.
output should be in one line like this: 1 2 3 4 5 6 7 8 9 10
bhan61:
can anyone send this answer in java
Answers
Answered by
1
check out screenshot for your answer.....
Attachments:
Similar questions