{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Sumofcubes.cpp - sumOfCubes.cpp This progam implements the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
/** * sumOfCubes.cpp - This progam implements the sumOfCubes() function * described in the handout. * * CS3330 Data Structures and Algorithms Term 1 2017 */ #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int sumOfCubes(int n); int main(int argc, char **argv) { cout << "sumOfCubes(38) is " << sumOfCubes(38) << endl; cout << "sumOfCubes(72) is " << sumOfCubes(72) << endl;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}