I'm stuck on this part of my homework. Everything else works, except for one function. I need to add 1/7 of an inch for every 11 years over the age of 31. I honest to God have no idea how to do that or where to even start.
But how would I make it so that it's every 11 years versus a random number? I need to add 1/7 of an inch every 11 years, which means at age 42, the user would go up 1/7 of an inch and then again at 53 and again at 64. I'm not sure if I'm reading the question wrong either so here's the original post.
"One function will calculate your vest size by multiplying your height by your weight and dividing that by 300. Also add 1/7 of an inch for each 11 years over the age of 31."