老是有警告,我该了好多遍了!
#include<iostream.h> #include<math.h> int main() { int m,e,n,k,C; cout<<"please enter the messege:"; cin>>m; cout<<"please enter the exponential:"; cin>>e; cout<<"please enter the mol:"; cin>>n; k=pow(m,e); C=k%n; cout<<"the message is:"<<C<<endl; return 0; }