python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is there a way to retain boolean value changed inside of an ActionListener once it's been changed inside the ActionListener?
i'm trying to make a poker game for a school project and im having particular difficulty changing this one variable. My code uses a while loop in the main of my class to handle data coming from the se...
rosalinaSpeedy
Votes: 0
Answers: 0
how to run a while loop in a function correctly
so, I'm collecting input and using a while loop with the condition (if user omits input say...) I am using this while loop for several input collection in the same code so i decided to write a functio...
public static void Main
Votes: 0
Answers: 1
Creating a pattern with a nested while loop
Hey im an totale beginner, this is what Im trying to recreate '4444\n3333\n2222\n1111\n'. Im trying to do this with an nested while loop. this is what I have now.
print()
fig = ''
i = side
while i >...
noob
Votes: 0
Answers: 1
what would be the correct way to write this code?
I am trying to create a program that allows the entry of 3 astronaut names and then performs a 10 second countdown for take-off. I want it to only countdown if 3 names are entered, if less, exit or as...
Harry
Votes: 0
Answers: 1