assignment and definition and if stmt