1 2 3 4 5 6 7 8 9 10 11 12 13
#include <stdio.h> void main() { float a,b,t; scanf("%f,%f",&a,&b); if(a>b) { t=a; a=b b=t; } printf("%5.2f,%5.2f\n",a,b); }
1 2 3
In function 'main': Line 10: error: expected ';' before 'b' Line 3: warning: return type of 'main' is not 'int'