Write a C++ program that calculates the given equation:

1/1+2 + 2/2+3 - 3/3+4 +...- n/n+(n+1)... bu işlemi c++ ile yazabilen

n numarası kullanıcı tarafından girilecek olan numara

Pay Attention!
N is a number that should be entered by the user.
If you look, the equation is continues synchronous so if you name such a variable called i=1 and start with it you can name 2 for i+1;
For example; for 1/1+2 say i=1 and so i+1 = 2 respectively.


ödevim yapabilen varsa acil yardım