I got this C code.
#include <stdio.h>
int main(void)
{
int n, d, i;
double t=0, k;
scanf("%d %d", &n, &d);
t = (1/100) * d;
k = n / 3;
printf("%.2lf %.2lf
", t, k);
return 0;
}
I want to know why my variable t is always zero (in the printf function) ?