Can anybody help me???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anybody help me????

Write program that reads the number “N” and displays the following sum in the output. Run the program for “N=6” S=2-4+6-8+...+(-1)^N+1 (2N)

27th Jan 2021, 7:14 AM
Farhad
3 Answers
+ 3
Farhad You should try atleast.
27th Jan 2021, 7:41 AM
A͢J
A͢J - avatar
+ 1
Please, show us your attempt first, so that we will be able to help you.
27th Jan 2021, 7:19 AM
#0009e7 [get]
#0009e7 [get] - avatar
0
I don't know
27th Jan 2021, 7:33 AM
Farhad