上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页
摘要: 1 #include<stdio.h> 2 int main(void) 3 { 4 int now, delay; 5 int minutes; 6 int after_hour, after_minute; 7 8 scanf("%d %d", &now, &delay); 9 minutes 阅读全文
posted @ 2020-05-06 14:47 jason2018 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 邮件:xuejineng2016@163.com 3 2020年5月5日 4 这是一个前导0的问题 5 */ 6 #include<stdio.h> 7 int main(void) 8 { 9 int year, month, day; 10 11 scanf("%d-%d-%d", 阅读全文
posted @ 2020-05-06 11:25 jason2018 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 邮件:xuejineng2016@163.com 3 2020年5月5日 4 5 */ 6 #include<stdio.h> 7 int main(void) 8 { 9 int a, b; 10 scanf("%d %d", &a, &b); 11 12 printf("%d + 阅读全文
posted @ 2020-05-06 11:15 jason2018 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 邮件:xuejineng2016@163.com 3 2020年5月5日 4 将华氏度转换为摄氏度 5 */ 6 #include<stdio.h> 7 int main(void) 8 { 9 int celsius, fahr; 10 11 scanf("%d", &fahr); 阅读全文
posted @ 2020-05-06 10:07 jason2018 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 QQ:778138708 3 2020年5月5日 4 */ 5 #include<stdio.h> 6 int main(void) 7 { 8 const int N = 4; //倒三角形的行数 9 for (int i = 0; i < N; i++) 10 { 11 for ( 阅读全文
posted @ 2020-05-06 09:53 jason2018 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 QQ:778138708 3 2020年5月6日 4 厘米换算英尺英寸 5 思路:将输入的厘米数换成浮点数形式的英尺,然后求整数形式的英尺和英寸 6 */ 7 #include <stdio.h> 8 int main(void) 9 { 10 int centimeter; 11 i 阅读全文
posted @ 2020-05-06 09:40 jason2018 阅读(912) 评论(0) 推荐(0) 编辑
摘要: student.h 1 #include<stdio.h> 2 #include<string.h> 3 #define MaxSize 50 4 struct student 5 { 6 int num; 7 char name[10]; 8 int computer, english, math 阅读全文
posted @ 2020-05-03 20:04 jason2018 阅读(663) 评论(1) 推荐(0) 编辑
摘要: NMEA-0183协议是为了在不同的GPS(全球定位系统)导航设备中建立统一的BTCM(海事无线电技术委员会)标准,由美国国家海洋电子协会(NMEA-The National Marine Electronics Associa-tion)制定的一套通讯协议。GPS接收机根据NMEA-0183协议的 阅读全文
posted @ 2020-04-20 13:33 jason2018 阅读(838) 评论(0) 推荐(0) 编辑
摘要: 题目内容: 你的程序要读入一行文本,其中以空格分隔为若干个单词,以‘.’结束。你要输出这行文本中每个单词的长度。这里的单词与语言无关,可以包括各种符号,比如“it's”算一个单词,长度为4。注意,行中可能出现连续的空格。 输入格式: 输入在一行中给出一行文本,以‘.’结束,结尾的句号不能计算在最后一 阅读全文
posted @ 2020-04-19 11:35 jason2018 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 浙大C语言慕课的题目,需要考虑多项式输出的各种特殊情况。 /* * 这个题目应该用%+d这种方式显示正负号。 * **/#include <stdio.h> int main(void) { //系数和幂 int a, n; //最大的幂 int maxN; //用来统计多项式的个数 int cnt 阅读全文
posted @ 2020-04-15 10:10 jason2018 阅读(340) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页