👤

Utilizand instructiuni "for" calculează suma șirului: 1-1/2+1/4-1/8+...+(-1)n/2n.
Rezolvati folosind limbajul (C)