Main.cc: In function 'int main()':
Main.cc:4:10: error: expected initializer before 'd'
int a,b d;
^
Main.cc:6:10: error: 'b' was not declared in this scope
cin>>a>>b;
^
Main.cc:8:7: warning: unused variable 'c' [-Wunused-variable]
int c=a;
^
Main.cc:10:7: warning: unused variable 'c' [-Wunused-variable]
int c=b;
^
Main.cc:12:11: error: 'c' was not declared in this scope
while(i<=c){
^
Main.cc:14:4: error: 'd' was not declared in this scope
d=i;
^