If there are error messages, copy the full text and paste it here.
If the program's output is not what you want, post the output and add some comments showing what you want it to be.