摘要: 1、 #include <stdio.h> #include <string> int main() { char ch[26]; ch[0] = 'a'; for (int i = 1; i < 26; i++) { ch[i] = 'a' + i; } for (int i = 0; i < 2 阅读全文
posted @ 2019-11-05 17:00 一颗蘋果 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1、 #include <stdio.h> #include <string> #define H_PER_M 60 int main() { int min, hour; printf("请输入分钟数:"); scanf("%d", &min); getchar(); while (min > 0 阅读全文
posted @ 2019-11-05 08:25 一颗蘋果 阅读(358) 评论(1) 推荐(0) 编辑