Yes, it all makes sense. I appreciate it :)
Type: Posts; User: maximus20895
Yes, it all makes sense. I appreciate it :)
Okay, so I just played around with it and this is what I got and it seemed to work.
package practice;
//imports
import java.util.Scanner;
public class DoWhile {
Ah, that makes sense. So would I have to change the do or what?
How would I declare the variable before the do-while loop?
I just copied what my teacher did haha.
I have tried over and over again, but I can't seem to get this; especially with the while at the end. I think the problem is the "guess" right after the while, but I don't know. Any help would be...