Define Algorithm And Flowchart With If Else Statement In Java