layout lattice code that allows one to enter any # of variables (> 2): layout lattice / columns=%eval(&numvars - 1)…