Struct, Switch & Loop practice