Загрузка данных
#include <stdio.h> int main(void) { int a; if (scanf("%d", &a) != 1) { printf("n/a"); } else { printf("%d", a); } return 0; }