sounds like we got homework again, i'll tell ya A and a hint to B.
A) right justification is like when you do:
it will print the string or whatever the datatype is 20 characters and justify to the left, so if the string is 15 characters it will print 5 spaces then the string
B) A pre test is what a while statement is, ie
and a post test is what a do while statement is, ie
Basically a pretest will test the condition before it does the loop where as a post test will complete one-cycle of the loop and test the condition. To understand compile and run both the above pieces of code and print the value of counter.