Q&A Discussions
why is it not running?
import java.util.Scanner;
public class Myclass{
public static void main(String [] args){
Scanner in = new Scanner(System.in);
String a;
int b;
System.out.println("enter a word");
a = in.nextLine();
System.out.println("enter repetition")
b = in.nextInt();
for ( int = 0; x < b; x = x++)
System.out.println(a);
}
}
0 Votes
8 AnswersHot today
Losing hearts
1 Votes
Someone explain it... Plz!!!
1 Votes
Programming
0 Votes
Question ❓
0 Votes
Running of python or js script (backend) and entering of html page by clicking SUBMIT button
2 Votes
Web development
0 Votes
Help me
0 Votes