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 AnswersTic-Tac-Toe Java Two Players
0 Votes
1 Answeris there anything wrong in this please answer
import string
from random import *
letters = string.ascii_letters
digits = string.digits
chars = letters + digits
min_length = 9
max_length = 15
password = "".join(choice(chars) for x in range(randint(min_length, max_length)))
print(password)
1 Vote
4 Answerscodeing and computing.
0 Votes
3 AnswersSuggestion
0 Votes
1 AnswerPython word search game help
0 Votes
1 AnswerWhat's Wrong With My Code??
0 Votes
2 Answershow to output phrases?
1 Vote
2 AnswersWhy does this not work?
2 Votes
2 AnswersHot today
What's wrong in my code?
4 Votes
App Development
1 Votes
GUI-Based Python code in Webpage
2 Votes
HTML
1 Votes
Introduction of html
0 Votes
Web Developer Job?
1 Votes
CSS or Tailwind
1 Votes
Russian
0 Votes