0_0_10787230_27771.cpp: In function `void input()': 0_0_10787230_27771.cpp:98: error: `val' undeclared (first use this function) 0_0_10787230_27771.cpp:98: error: (Each undeclared identifier is reported only once for each function it appears in.)