Write a java program display your name five times in separate line.
Answers
Answered by
0
Answer:
String name = "Anant";
for (int i = 1; i <= 5; i++) {
System.out.println(name);
}
Explanation:
Please mark it as the brainliest
Similar questions