online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<stdio.h> int main () { float tmp, A[4][4]={{-3.5,4.3,1.6,-5.6}, {4.8,8.3,-3.2,7.2}, {-1.25,-1.3,0.8,2.6}, {1.9,0.25,6.2,1.71}}; int i, j; float B[10]; for(i=0;i<4;i++) { for(j=0;j<4;j++) { B[0]=A[0][0]; B[1]=A[0][1]; B[2]=A[0][2]; B[3]=A[0][3]; B[4]=A[1][1]; B[5]=A[1][2]; B[6]=A[1][3]; B[7]=A[2][2]; B[8]=A[2][3]; B[9]=A[3][3]; } } for(i=0;i<10;i++) { printf("%f ",B[i]); } printf("\n "); for(i=0;i<9;i++) { for(j=0;j<9;j++) { if(B[j]<B[j+1]) { tmp=B[j]; B[j]=B[j+1]; B[j+1]=tmp; } } } for(i=0;i<10;i++) { printf("%.2f ",B[i]); } }

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