Sum to n terms: 1.n + 2.(n-1) + 3.(n-2) + ...

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

i study c++ and have trouble with this problem because the loop is very long .so your answer is what i looking for .thank so much sir !

hoangvietng