Cho mình hỏi là tại sao chương trình của mình báo lỗi thế này:
The program terminates abnormally at the time of entering the float value for e[i].sal.
floating point formats not linked
Abnormal program termination
Mình seach mãi k hiểu @@
#include<stdio.h>
int main()
{
struct emp
{
char name[20];
float sal;
};
struct emp e[10];
int i;
for(i=0; i<=9; i++)
scanf("%s %f", e[i].name, &e[i].sal);
return 0;
}