83.1k views
0 votes
Write an algorithm to display your name 10 times​

User Madarco
by
4.0k points

1 Answer

8 votes

Hey this code was made in java if you have any issues let me know

package nametest;

public class Nametest {

public static void main(String[] args) {

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

System.out.println("namehere");

}

}