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 AnswersWhy not working
-4 Votes
4 AnswersHot today
Activities on sololearn
7 Votes
Can you help me ?
1 Votes
What am I doing wring?
1 Votes
Computer architecture
1 Votes
App development đ„âïž
1 Votes
Playground input
1 Votes
Hearts refill
1 Votes