- 博客(15)
- 资源 (11)
- 收藏
- 关注
原创 两个链表的合并
#include #include #define LEN sizeof(struct student)struct student{long num; int score; struct student *next;};struct student lista,listb;int n,sum=0;int main(){struct student *creat(voi
2013-03-26 19:53:49 633
原创 格式输出
#include struct student {int num; char name[20]; char sex; int age; };struct student stu[3]={{10101,"Li Lin",'M',18},{10102,"Zhang Fun",'M',19}, {10104,"Wang Min"
2013-03-25 20:07:14 649
原创 例题9.9
#include#include#define LEN sizeof(struct Student)struct Student{ long num; float score; struct Student*next; } ;int n;struct Student*creat(){ struct Student*head; struct Student*p1,*p2;
2013-03-25 15:51:21 898
转载 上下都是没有大的差距的,我看了好几遍,第一个还是不能正常输出啊
#include#define N 3struct Student{int num;char name[20];float score[3];// float score[3];float aver;} ;//你妹呀,这个超容易漏掉 int main(){ void input (struct Student stu[]);struct Student max(struct Student stu
2013-03-25 14:55:18 589
转载 将十进制数转换为十六进制
import java.util.Scanner;public class Decimal2HexConversion { /** * @param args */ public static void main(String[] args) { //creat a scanner; Scanner input =new Scanner(System.in); //
2013-03-23 20:27:39 1553
转载 链表的综合运用
#include #include #define LEN sizeof(struct student)struct student {long num; float score; struct student *next; };int n; int main() {struct student *creat(); voi
2013-03-19 20:21:10 656
转载 还要调试。。。。。。。。
#include#include#define LEN sizeof(struct Student)struct Student{ long num; float score; struct Student*next;};int n;struct Student*creat(){ struct Student*head; struct Stude
2013-03-19 20:20:08 492
转载 猜生日
import java.util.Scanner;public class GuessBirthdayUsingArray { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int day=0;//day to determ
2013-03-18 16:58:06 632
转载 编写一个程序,从一副52张的牌中随机挑出四张牌
public class dsdsds { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int[]deck=new int[52]; String[]suits={"Spades","Hearts","Diamond","C
2013-03-17 20:09:27 4431
原创 左义正
主动出击才能做主人!重复产生记忆!只有经历才能创造能力。做个有故事的人。核心竞争力,总得有一点做的比别人好。主动,有经历,能给别人创造价值。沟通,遭遇了再来一次。学会沟通,迈向成功。佐义正公众演说。克服恐惧。学演讲,很简单。九字,站起来,跑上台,说出来。有真情实感才能无所畏惧沟通,演讲,与人合作。人生之所以不成功,是因为有太多的恐惧。信心受挫是最大的伤。三次会有恐惧症吗?魅力口才走火
2013-03-17 12:52:16 653
转载 求和2
public class chuanqiuhe { /** * @param args * @return */ static /*public static int main(String[] args) { // TODO Auto-generated method stub /*int sum=0; for(int i=1;i<=10;i++) sum+
2013-03-17 10:51:09 636
转载 使用确认对话框控制循环
import javax.swing.JOptionPane;public class SentineValueusingConfirmationDialog { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int sum
2013-03-17 10:31:25 803
原创 JAVA的循环
import java.util.Scanner;public class fdsf {public static void main(String[]args){int data;int sum=0;Scanner input=new Scanner(System.in);do{System.out.print("Enter an int value(the program exits if t
2013-03-16 23:15:31 646
原创 程序清单4——4 Sentinevalue.java
import java.util.Scanner;public class Sen { /** * @param args */ public static void main(String[] args) { Scanner input=new Scanner(System.in); System.out.print( "Enter an int val
2013-03-14 21:56:44 705
原创 sub.java
import java.util.Scanner;public class Sub { /** * @param args */ public static void main(String[] args) { int number1=(int)(Math.random()*10); int number2=(int)(Math.random()*10); if(n
2013-03-14 21:36:11 1064
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人