Programming+Test

Please code for the following problems. 1. Open the links 2. write code in your own IDE 3. Paste the code to the online judge to pass the test 4. save your pass screenshots into a word document. 5. Submit your word document onto your project page with link name: JavaProgTest20161128_YourName

Problems: http://codingbat.com/prob/p146974 [5 marks] http://codingbat.com/prob/p139150 [10 marks] http://codingbat.com/prob/p120015 [5 marks] https://www3.ntu.edu.sg/home/ehchua/programming/java/J3f_OOPExercises.html#zz-4.5 [20 marks]