Thread [main] (Suspended)
PrintStream.println(String) line: 755
Ex6.main(String[]) line: 35
WHAT IT MEEANS?
public class Ex6 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int f = scanner.nextInt();
int t = scanner.nextInt();
int s = scanner.nextInt();
int temp, temp1, temp2;
int temp3 = s;
int countSimilarVariables = 0;
//int countVariablesOfS = 0;
int countVariablesOfT = 0;
boolean flag = false;
if((f>0)&&(t>0)&&(s>0))
{
if(t>f)
{
temp=f;
f=t;
t=temp;
}
temp1 = f;
temp2 = t;
while(temp1>=t)
{
System.out.println("lala"); /// THE PROBLEM IS HERE
--- Update ---
i found that there was no problem in my code. the problem is when i debug the line of printing.
why it happens?