2019年6月13日

摘要: 1 import javax.swing.JFrame; 2 import javax.swing.JOptionPane; 3 4 public class li { 5 6 public static void main(String[] args) { 7 8 9 JFrame frame = new JFr... 阅读全文

posted @ 2019-06-13 19:23 18软工五班吴赞 阅读(102) 评论(0) 推荐(0)


2019年6月10日

摘要: 1 #include 2 #include 3 #include 4 5 6 #define MAX 100 7 using namespace std; 8 9 //根据数据创建堆 10 void CreateHeap(int *heap, int length); 11 //向下调整堆中元素 12 void AdjustDownHeap(i... 阅读全文

posted @ 2019-06-10 20:08 18软工五班吴赞 阅读(74) 评论(0) 推荐(0)


2019年6月5日

摘要: 1 #include 2 #include 3 4 #define Max 50 5 6 7 typedef struct node{ 8 char data[Max]; 9 int n; 10 }sqTree; 11 //先根二叉树 12 void tree(sqTree &t,char ch[],int n,int &s){ 13 char ... 阅读全文

posted @ 2019-06-05 19:01 18软工五班吴赞 阅读(111) 评论(0) 推荐(0)


2019年6月3日

摘要: 1 #include 2 #include 3 4 #define Max 80 5 #define M 4 6 #define N 3 7 8 typedef struct { 9 int r;//行 10 int c;//列 11 int d;//元素值 12 }tyNode; 13 typedef struct { 14 int r... 阅读全文

posted @ 2019-06-03 19:08 18软工五班吴赞 阅读(163) 评论(0) 推荐(0)


2019年5月30日

摘要: #include <stdlib.h> //清屏函数所在头文件 void printMenu(); //打印主菜单void inputMessage();//录入学生成绩void printMessage();//打印学生成绩void update(); struct student{ char n 阅读全文

posted @ 2019-05-30 19:44 18软工五班吴赞 阅读(116) 评论(0) 推荐(0)

摘要: 1 class person{ 2 String color; 3 public person(String color){ 4 this.color=color; 5 } 6 class heart{ 7 int suy; 8 int soy; 9 int zp; 10 public heart(int suy,int soy,int zp){ 11 this.soy=soy... 阅读全文

posted @ 2019-05-30 19:42 18软工五班吴赞 阅读(111) 评论(0) 推荐(0)


2019年5月27日

摘要: #include<stdio.h>int main(){ int getmax(int x,int y); int a,b,c; scanf("%d%d",&a,&b); c=getmax(a,b); printf("%d",c);}int getmax(int x,int y){ int t; w 阅读全文

posted @ 2019-05-27 13:07 18软工五班吴赞 阅读(83) 评论(0) 推荐(0)


2019年5月22日

摘要: #include<stdio.h>#include<stdlib.h>#include<math.h> #define Max 50#define Maxjia 10 typedef char ElemType;typedef struct node{ ElemType *top; ElemType 阅读全文

posted @ 2019-05-22 19:05 18软工五班吴赞 阅读(80) 评论(0) 推荐(0)

摘要: import java.util.Scanner; //猜电脑产生的随机数数 public class Dmoe1 { public static void main(String[] args) { int count = 0,t; System.out.println("自动产生随机数的范围是1 阅读全文

posted @ 2019-05-22 19:03 18软工五班吴赞 阅读(89) 评论(0) 推荐(0)


2019年5月20日

摘要: public class zy { public static void main (String[] args){ int[] a=new int[10];int i,j; System.out.println("请为数组赋值:"); for( i=0;i<5;i++){ Scanner sc = 阅读全文

posted @ 2019-05-20 19:14 18软工五班吴赞 阅读(88) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3