What will be the recursive C++ code for the following problem for 1 - 3 +5 -7 ... . + / - n -LRB- if n is even , last term is n-1 -RRB- as shown in figure ?
How can I write a C++ function to shut down a computer ?