#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> typedef struct LNode { int data; struct LNode *next; }LNode; void push(LNode *h_node, int data); int pop(LNode *h_node); int top(LNode *h_node); int main() { int num; while(scanf("%d",&num)!=EOF) ...