how to write the program that output will repeat again and again
Answers
Answered by
0
Answer:
import. java. io. *;
class series
{
public static void main(String args[ ])
{
Scanner sc= new Scanner (System.in) ;
int n= newInt() ;
for(n=0; ; n++)
{
System. out. println("an infinite loop") :
}
}
}
Similar questions
India Languages,
17 days ago
Math,
17 days ago
Math,
1 month ago
English,
9 months ago
English,
9 months ago