Art, asked by adhiadharsh33, 8 months ago

write a program in java to print "Adarsh" 100 times ( for loop)​

Answers

Answered by siddharthsanjay574
1

Answer:

/* package whatever; // don't place package name! */

 

import java.util.*;

import java.lang.*;

import java.io.*;

 

/* Name of the class has to be "Main" only if the class is public. */

class Ideone

{

public static void main (String[] args) throws java.lang.Exception

{

 for (int i = 0; i < 100; i++) {

  System.out.println("Adarsh");

 }

}

}

Similar questions