摘要:
#include#include#define N 5#define NULL 0#define OK 1#define ERROR 0typedef struct LNode{ int data; struct LNode *next;}LNode,*list;void creatLi... 阅读全文
posted @ 2014-09-14 13:54
fantasy12436109
阅读(181)
评论(0)
推荐(0)
摘要:
import java.util.Scanner;/** 计算2013年的某月某日是当年的第多少天?* 是星期几?已知2013年元旦是星期二。*/public class Test2 {public static void main(String[] args) {int month, day;in... 阅读全文
posted @ 2014-09-14 13:04
fantasy12436109
阅读(273)
评论(0)
推荐(0)
摘要:
/** * 编写程序,计算2013年的某月某日是当年的第多少天?是星期几?已知2013年元旦是星期二。 */import java.util.Scanner;public class Date { public static void main(String[] args) { ... 阅读全文
posted @ 2014-09-14 12:54
fantasy12436109
阅读(725)
评论(0)
推荐(0)
摘要:
import java.util.Scanner;/** * 1、编写程序,提示用户输入一个1至1000之间的整数, * 判断整数是否为质数? * 质数是除了1与它本身,不能被其它数整除的数。 * @author Administrator * */public class Test { pu... 阅读全文
posted @ 2014-09-14 12:53
fantasy12436109
阅读(472)
评论(0)
推荐(0)
浙公网安备 33010602011771号