My issue
not getting correct answere please help me
My code
#include <stdio.h>
int main() {
int T;
scanf("%d", &T);
while (T--) {
int disposableCost, clothCost;
scanf("%d %d", &disposableCost, &clothCost);
int totalDisposableCost = disposableCost * 100;
int totalClothCost = clothCost * 10;
if (totalClothCost < totalDisposableCost) {
printf("CLOTH\n");
} else {
printf("DISPOSABLE\n");
}
}
return 0;
}
Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00/problems/CMASKS