Hello , I am beginer in c++ as i started few days ago and i find it hard to understand most of syntax.

What i should use to make part of code do a calculation 1 time and after that not repeat...