Java Program Using Nested If Else Flowchart In C