欢迎来到贱贱的博客

扩大
缩小

2016年11月15日

4 循环结构

摘要: 循环课本上就这些了。。。。 没有截图时间有限 好好加油罗 阅读全文

posted @ 2016-11-15 19:54 L的存在 阅读(187) 评论(0) 推荐(0) 编辑

3选择结构程序设计

摘要: #include /* 功能:输入一个大写字符,屏幕输出小写 时间:2016 11 14 */ void main() { char c; c = getchar(); if(c>='A'&&c /* 功能:输入一个小于9位的数 输出位数 时间:2016 11 14 */ //键盘录入一个不多于9位的正数 输出位数 void mai... 阅读全文

posted @ 2016-11-15 19:38 L的存在 阅读(271) 评论(0) 推荐(0) 编辑

1数据类型运算

摘要: 1 #include 2 3 /* 4 功能:基本输入输出 5 */ 6 void main() 7 { 8 float a;//6位有效数字 9 int b,c; 10 char d,e; 11 a = 3.5; 12 b = a; 13 c= 330; 14 d = c; 15 e='\\';//C... 阅读全文

posted @ 2016-11-15 19:31 L的存在 阅读(154) 评论(0) 推荐(0) 编辑

2基本输入输出

摘要: #include /* 功能:简单加法 时间:2016.11.14 */ void main() { int a; int b; scanf("%d+%d",&a,&b);//记住严格按照格式输入 printf("a+b=%d",a+b); system("pause"); } 1 #include 2 /* 3 ... 阅读全文

posted @ 2016-11-15 19:29 L的存在 阅读(192) 评论(0) 推荐(0) 编辑

导航