Thank you for trying to help. I am a BEGINNER, and a friend helped me get this far, then had to leave. So I was left clueless.
I just don't understand the for loop (or any of them really), and I can't make it work.
I've still been making changes and trying, and this is what I have:
public class Lab3_2b
{
public static void main (String[] args)
{
// String outputFormat="";
//char ch;
//int ASCIIindex;
System.out.println () ;
ASCIIindex = 33 ;
ASCIIindex = 126 ;
{
for (ASCIIindex!=33 && ASCIIindex ~=126);
System.out.println () ;
ch = (char) (ASCIIindex);
outputFormat =ch + " " ;
System.out.print (outputFormat) ;
ASCIIindex = ASCIIindex + 1 ;
}
System.out.println () ;
}
}
------------------------------------------------------------------------------
Steve, the error messages are: 4 errors found:
File: C:\Users\User\Documents\Christy School\4-Spring 2013\CSCI\Lab3_2b.java [line: 17]
Error: not a statement
File: C:\Users\User\Documents\Christy School\4-Spring 2013\CSCI\Lab3_2b.java [line: 17]
Error: ';' expected
File: C:\Users\User\Documents\Christy School\4-Spring 2013\CSCI\Lab3_2b.java [line: 17]
Error: illegal start of expression
File: C:\Users\User\Documents\Christy School\4-Spring 2013\CSCI\Lab3_2b.java [line: 17]
Error: ';' expected
And I understand it tells me what is wrong, however I don't know what those errors mean or where to put the corrections either, so it's a bit frustrating. My entire class is behind, as our teacher goes really fast, like we should already know this stuff. He is the only teacher that teaches computer science, and my school has no tutoring available, so I'm not really getting the logistics of it.