C ++ program to find the difference between the sum of the cubes of the first N natural numbers and the sum of the first N natural number
#include <bits/stdc++.h> NEW_LINE using namespace std ; int difference ( int n ) { int S , res ;