Read long from keyboard
#include <stdio.h> void main() { long feet = 0L; /* A whole number of feet */ printf("Enter long: "); scanf("%ld", &feet); printf("your input is %ld", feet); }