/***************************************************************************** * Outputs all numbers between 100 and 999 that are the sum of the * * cubes of its digits. * * Inputed: N/A * * Outputed: (see above). * * Written: November 14, 2001 * * By: Ronald Roberts * *****************************************************************************/ //Ronald Roberts //Program #45 //14NOV01 #include #include #include int main(){ int i; double num1=0, num2=0, num3=0; cout<<"All three digit numbers with this property: "; for (i=100; i<=999; i++) { num1=i/100; num2=(i%100)/10; num3=i%10; if ((pow(num1, 3)+pow(num2, 3)+pow(num3, 3))==i) { cout<