12 lines
255 B
C
12 lines
255 B
C
#include <stdio.h>
|
|
#include "get_file.h"
|
|
#include "count_elements.h"
|
|
|
|
int main(void) {
|
|
FILE * file = getFile();
|
|
if (file == NULL) {
|
|
return -1;
|
|
}
|
|
printf("Count of numbers between 1 to 5 is %d", countElements(file));
|
|
return 0;
|
|
}
|