Write a program to print “welcome” 10 times using for loop.
Answers
Answered by
0
Answer:
But in which language? Like java, python or what?
Explanation:
in simple terms: repeat 10 times, print Welcome
Answered by
1
Explanation:
public class hello
{
public static void main()
{
for(int n=1; n>11; n++)
{
System.out.println("WELCOME");
}
}
}
Loop will be executed 10 times and welcome will be printed 10 times
Similar questions