Write a program in java language to print series - 1,8,27,64
Answers
Answered by
1
Explanation:
Explanation:for ( int i = 1 ; i > = 10 ; i++ ) // it repeats the same job 10 times.} // end of for loop.} // end of class A.public static void main ( string args [ ] ) // main( ) function declared as static and public //A obj = new A ( ); // creating a object of class A.} // end of main class.
Similar questions