tbarnes2788
Programmer
I have to debugg this program there is an error with the IF and FOR statement. Could some please expalin to me what's wrong?
public class FixDebugSix2
// Print the character values
// of 65 through 122
{
public static void main(String[] args)
{
char letter = a;
int a =0;
for(a = 65; a < 122; ++a)
{
letter = a;
System.out.print(" " + letter);
}
if(a = 85 && 105)
{
System.out.println();
}
System.out.println("\n End of program");
}
}
public class FixDebugSix2
// Print the character values
// of 65 through 122
{
public static void main(String[] args)
{
char letter = a;
int a =0;
for(a = 65; a < 122; ++a)
{
letter = a;
System.out.print(" " + letter);
}
if(a = 85 && 105)
{
System.out.println();
}
System.out.println("\n End of program");
}
}