ID 查询练习
输入一个ID对应一个用户
#include <stdio.h> int main() { int id; printf("Please inter a Id:"); scanf("%d", &id); switch (id) { case 3: printf("jhon "); break; case 7: printf("qiqi "); break; case 10: printf("fangxu "); break; default: printf("Not found "); } return 0; }