My answer for calculating discount give correct outputs, but it is not accepted.

Problem : Total expenses

Problem Code: FLOW009

```
int main(void) {
// your code goes here
int t;
scanf("%d", &t);
for(int i = 0; i<t; i++){
int a, b;
float tot_price;
scanf("%d %d", &a, &b);
if(a > 1000){
tot_price = (a*b) - round(a*b*0.1);
} else{
tot_price = a*b;
}
printf("%f\n", tot_price);
}
return 0;
}
```