5. Calculati:
a) 1 - 2 + 3-4+5-6+7- 8+9 - 10;
b) 1 + 2-3-4+ 5+ 6-7-8+ 9+ 10.
Scrieti in mod analog sume care să aibă 100 de termeni​