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 AnswersWap to print strong number
-1 Vote
2 AnswersHelp with private function
2 Votes
6 AnswersExplain About Classes in C#
3 Votes
4 AnswersHot today
I've a HTML code question
0 Votes
C++
0 Votes
Appointment Booking website
0 Votes
HELP ME LEARN
0 Votes
Please tell me about methods
1 Votes
Give me advice
1 Votes
Mentors
1 Votes