My issue
please check and give correct code
My code
#include <stdio.h>
int main() {
int t;
scanf("%d", &t);
while(t--)
{
int x;
scanf("%d", &x);
if(x<=3)
{
printf("BRONZE\n");
}
else if(x>3 && x<6)
{
printf("SILVER\n");
}
else
{
printf("GOLD\n");
}
}
}
Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00/problems/DOREWARD