My issue
what is problem of my code
My code
#include <stdio.h>
int main() {int t,n,total,p,q;
scanf("%d",&t);
while(t--){
scanf("%d",&n);
total=n*50;
p=((70*total)/100);
q=total-p;
printf("%d\n",q);
}}
Learning course: 500 to 1000 difficulty problems
Problem Link: Sugarcane Juice Business Practice Problem in - CodeChef