#include #include typedef struct node { int number; struct node *next; } node; int main(void) { node *list = NULL; while (true) { int x = get_int("Number: "); if (x == INT_MAX) { printf("\n"); break; } // TODO: Allocate a new node. // TODO: Add new node to linked list. } // TODO: Print all nodes. // TODO: Free all nodes. }