online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<stdio.h> #include<math.h> int main(){ int a[10][10],b[10][1],c[20][20],i,j,n,k; printf("enter the degree of polynomial"); scanf("%d",&n); for(i=0;i<n;i++){ for(j=0;j<=n;j++){ if(j==i+1) a[i][j]=i+1; else a[i][j]=0; } } printf("enter the coefficients for the polynomial a0+a1x+a2x^2+....+anx^n: \n"); for(i=0;i<=n;i++){ for(j=0;j<=0;j++){ printf("enter a%d ",i); scanf("%d",&b[i][j]); } } for(i=0;i<=n;i++){ int sum=0; for(j=0;j<1;j++){ for(k=0;k<=n;k++){ sum=sum+a[i][k]*b[k][j];} c[i][j]=sum; } } printf("the derivative is:\n"); for(i=n-1;i>=0;i--){ for(j=0;j<1;j++){ printf("%dx^%d",c[i][j],i); if(i!=0) printf("+"); }} }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue