Simple Java Program Using Control Structures Sequence Formula