Run id: 144512

Main.cc: In function 'int main()':
Main.cc:15:9: error: 'num' was not declared in this scope
         num=a[1]*pow(a[2]/a[1],n-1);
         ^
Main.cc:18:9: error: 'num' was not declared in this scope
         num=a[1]+(a[2]-a[1])*(n-1);
         ^
Main.cc:20:11: error: 'num' was not declared in this scope
     cout<