摘要: C题目: 有3个候选人,每个选民只能投票一个人,要求编一个统计选票的程序,先输出候选人的名字,最后输出各个人所的票结果。 代码: #include <stdio.h> #include <string.h> struct Person{ char name[20]; int count; }lead 阅读全文
posted @ 2024-11-24 10:48 昵-称 阅读(122) 评论(0) 推荐(0)