Yes that is what I mean.

I tried what you had but I have never used the calculations function and I got several syntax errors. I tried to put it after my print line and also I tried to put it after my main method and still got several errors is there a diffrent way using a if statement like if (i=1;i<10;i++) with that type of function.