04. Console input and output

complete homework