Computer Science, asked by qwerty0124, 1 year ago

write a java program to print your name 10 times​

Answers

Answered by kaushikpriya0304
33

Answer:

Explanation:

public class nameprint

{

public static void main(string[] args)

{ int i;

for(i=1;i<=10;i++)

system.out.print("NAME");

}

}

Answered by rishabh3263
13

Explanation:

class loop

{

public static void main (String args[])

{

for( i=1; i<10, i+t )

{

System. out. println ("Rishabh ");

}

}

}

Output = Rishabh, Rishabh,.,.,.,.,.,.,.,.,.,.,.,..,.,.,.,.,..,.Rishabh (50 Times)

Similar questions