# C program to calculate the sum of the series 1^3 -2^3 + 3^3 - 4^3 + ... N^3

To find the sum of this series using C program, we will read N by the user (which is the total number of terms) and run loop from 1 to N, within the loop body, we will check the condition for EVEN or ODD because, in this series ODD terms are being added and EVEN terms are being subtracting. Finally, we will print the calculate sum (result) of the series).

## Program to find the sum of the series 1^3 -2^3 + 3^3 - 4^3 + ... N^3 in C

Output

need an explanation for this answer? contact us directly to get an explanation for this answerExplanation: