P9602

一本通 例8.13 使用函数指针数组,模拟菜单功能

时间限制: 1s 内存限制: 64MB 困难 通过 25.53%
描述

使用函数指针数组,模拟菜单功能实现方法示例。

输入

整数x

输出

输出对应菜单

样例输入
2
样例输出
test2