👤

Sa se calculeze urmatoarea suma: S= 1*n+2*(n-1)+3*(n-2)+...+n*1. Va rog cu instructiunea for(cpp+).