#include <math.h> #include <stdio.h> void main( void ) { double x 2.0, y 3.0, z; z = pow( x, y ); printf( "%.1f to the power of %.1f is %.1f\\n", x, y, z ); }
double dNombre1; int iNombre1; dNombre1 = pow; //etc. iNombre1 = (int) dNombre1;
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question//cryptage #include #include <math.h> using namespace std; int main(){ //n=221 //p=13 //q=17 //e=5 int e=5; //non = 110 111 110 double fe=110; double dNombre1; dNombre1 = pow (fe,e); int df=(int) dNombre1; cout<<df<<endl; int sdsd=df%221; cout<<sdsd; return 0; }