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
Time up code for data revision
0 Votes
Web vs python
1 Votes
Best Python Calculator Code
1 Votes
I want to learn why this error occurs in "while loop" function of Pythone.Can someone explain to me?
1 Votes
Animation
2 Votes
Clean Code
2 Votes
While or for loop
0 Votes
how to import in pygame
0 Votes