how to find pow()%n in c++ code example
Example 1: how to write something in power of a number in c++
#include <iostream>
#include <cmath>
using namespace std;
int main(){
cout<<pow(10,2);
return 0;
}
Example 2: pow function c++
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int x = 2;
int y = 3;
cout<<pow(x,y);
}