New course! Every coder should learn Generative AI!
Try a free lessonQ&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 AnswersI am confused on this
0 Votes
1 AnswerHot today
Roblox full version
0 Votes
Help me
1 Votes
What is the bug here??
0 Votes
Help!
1 Votes
How do I do this?
0 Votes
What should I learn?
0 Votes