With float my program looks like this:
#include <stdio.h>
int main() {
float result;
float input;
scanf("%f", &input);
result = input / .25;
printf("%f", result);
return 0;
}
Entering the value 3 produces 12.000 as output. Replacing float with double, however, consistently gives me 0.000 instead. Is there something I'm overlooking here?