Computer Science, asked by siddharthrathoreee, 2 days ago

Write a program to print “welcome” 10 times using for loop.​

Answers

Answered by blah1blah1blah2
0

Answer:

But in which language? Like java, python or what?

Explanation:

in simple terms: repeat 10 times, print Welcome

Answered by shivgupta15sep2005
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