#include #include #include #include using namespace std; int main(int argc, char *argv[]){ //calculate the area of a triangle. //command line parameter is angle C(degree). int i=1; double a,b; double ans,myans; char message[128]; a=2.; b=10.; ans=(int)pow(a,b); strcpy(message,"What is 2 to the 10th ?(Calculate 2^{10})>"); cout <>myans; switch((int)(myans-ans)){ case 0: cout << "Right!" <