摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>图文混排-陈敏芳</title> <style type="text/css"> * { padding: 0px; margin: 0px; } body{ font-size: 1 阅读全文
posted @ 2022-04-08 22:48 CC9898 阅读(141) 评论(0) 推荐(0)
摘要: 题目: 某班级有4名这学生,每个学生有5门课程。编程实现以下3个要求: (1)求第一门课程的平均成绩; (2)找出有两门以上课程不及格的学生,输出他们的学号和全部课程成绩及平均分; (3)找出平均成绩在90分以上或全部课程成绩在85分以上的学生。 源代码: #include<stdio.h>#inc 阅读全文
posted @ 2022-04-07 15:39 CC9898 阅读(681) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>春雨-陈敏芳</title> <style type="text/css"> .box{ border: 3px #0099FF solid;/*设置边框粗细,颜色和类型*/ padd 阅读全文
posted @ 2022-04-01 22:27 CC9898 阅读(164) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>阴影-陈敏芳</title> <style type="text/css"> body{ font-size: 20px; } h1{ font-family: 微软雅黑; color 阅读全文
posted @ 2022-04-01 22:26 CC9898 阅读(187) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>溢出-陈敏芳</title> <style type="text/css"> .box{ width: 310px; margin: 10px; font-family: 楷体; } 阅读全文
posted @ 2022-04-01 22:24 CC9898 阅读(178) 评论(0) 推荐(0)
摘要: #include<stdio.h>//求最大值的函数int highest(int m[3][4])//形式参数是二维数组{ int i,j; int a=m[0][0];//认为第一个数是最大值 for(i=0;i<3;i++)//外层循环控制行 { for(j=0;j<4;j++)//内层循环控 阅读全文
posted @ 2022-03-31 22:45 CC9898 阅读(415) 评论(0) 推荐(0)
摘要: #include <stdio.h>int main(){int upper=0,lower=0,digit=0,space=0,other=0,i=0;char *p,s[80];printf("请输入一串字符,包括大写字母、小写字母、数字、空格和其他字符,不超过80个:\n");while (( 阅读全文
posted @ 2022-03-31 22:41 CC9898 阅读(1267) 评论(0) 推荐(0)
摘要: //求最高分,最低分,平均分,按大小排序 ,及格/不及格人数 #include<stdio.h>int main(){ int array[10]; int *pointer; int i,j,t; int sum=0,max,min; double aver; int num1=0,num2=0; 阅读全文
posted @ 2022-03-24 21:35 CC9898 阅读(389) 评论(0) 推荐(0)