#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_l,myans_u; char message[128]; a=2.; b=10.; ans=pow(a,b); strcpy(message,"Estimate 2 to the 10th ?(Calculate 2^{10})"); cout < "; cin>>myans_l; cout <<"upper?> "; cin>>myans_u; if(myans_l>myans_u){ cout << "The lower limit is larger than the upper limit. Exiting" <