Main.cc: In function ‘int main()’:
Main.cc:27:9: error: expected ‘;’ before ‘}’ token
}
^
Main.cc: In function ‘void nhap(float*, int)’:
Main.cc:10:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f",&a[i]);
~~~~~^~~~~~~~~~~~
Main.cc: In function ‘int main()’:
Main.cc:18:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
~~~~~^~~~~~~~~