or
#include <math.h>
FORTRAN = pow(INT,3.0); /* which actually does a float power */
or
for( p=3,FORTRAN=1; p>0; p-=1 ){ FORTRAN *= INT; }
or
for( p=3,FORTRAN=1; p>0; p>>=1 ){
FORTRAN *= FORTRAN;
if( p&1 ){ FORTRAN *= INT; }
}
If you are experiencing a similar issue, please ask a related question
Title | # Comments | Views | Activity |
---|---|---|---|
has12 challenge | 13 | 64 | |
count7 challenge | 12 | 103 | |
Non-recursive backtracking, using a stack | 1 | 102 | |
What's the Difference Between a VI, the Command Prompt and a Shell | 7 | 78 |
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
15 Experts available now in Live!