Computer Science, asked by tariquesufiya, 16 days ago

program to display your name 10 times​
fast please

Answers

Answered by shreshthasingh15
0

Answer:

import java.util.*;

class name

{

void main()

{

string name;

Scanner sc= new scanner (System.in);

System.out.print (Enter your name)

name=sc.nextline();

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

System.out.println("My name is =" + name);

}

}

}

Explanation:

Similar questions