My issue
My code
// Update the _ in the code
#include <stdio.h>
int main() {
int t,A,B;
float X;
int Y;
int i = 1;
scanf("%d", &t );
while (i <= t){
scanf("%d %d", &A, &B);
X = A / B;
Y = A / B;
printf("%f %d\n", X, Y);
i = i+1;
}
return 0;
}
Learning course: C for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone