Java Program Input And Output Definition In Algorithm For Selection