Java Program Coding With Output Vs Input Graphs