I have these two assignments about Java programming I have got codes for them but they does not seem to work I

Question

I have these two assignments about Java programming. I have got codes for them but they does not seem to work. I

will attach both assignment plus my code. You can either do it by fixing my code for them to run or do it from scratch with your own code. Please i need SCREENSHOT and some explanation for this assignment to be complete.

Engineering Technology