It looks like you are trying to write the C source code for your Java assignment. You need some break and chill out before you start on writing the code.