#include <iostream> int main() { int num1, num2; std::cout << "Enter the first number: "; std::cin >> num1; std::cout << "Enter the second number: "; std::cin >> num2; int sumOfCubes = (num1 * num1 * num1) + (num2 * num2 * num2); std::cout << "The sum of the cubes of the two numbers is: " << sumOfCubes << std::endl; return 0; }
int main() {
int num1, num2;
std::cout << "Enter the first number: ";
std::cin >> num1;
std::cout << "Enter the second number: ";
std::cin >> num2;
int sumOfCubes = (num1 * num1 * num1) + (num2 * num2 * num2);
std::cout << "The sum of the cubes of the two numbers is: " << sumOfCubes << std::endl;
return 0;
}