Pass double value into function
#include <stdio.h> double feet_to_meter(double f); int main(void) { double feet; printf("Enter feet: "); scanf("%lf", &feet); printf("Meters: %f", feet_to_meter(feet)); return 0; } double feet_to_meter(double f) { return f / 3.28; }