#include<iostream>#include<math.h>using namespace std;int main(){ cout<<"(-1)^(2/3) = "<< pow(-1,2/3); return 0 ;}
Standard input is empty
(-1)^(2/3) = 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!