自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(37)
  • 资源 (1)
  • 收藏
  • 关注

原创 一脚踢

第三问伪代码:main()/*----------------------------------------------启动函数--------------------------------------*/{ 启动Doctor函数,传入参数n==0; for(q=1;q<iCount;q++){ if(max<=b[q])

2014-12-14 17:27:41 559

原创 上传到

第二问伪代码:void constract_array()/*----------比较字符函数-------------*/{ for(v=0;v<4;v++) { 扫描所输入的项目 } END FOR} 判断字符串并给a数组赋值; }main()/*--------------------------------

2014-12-14 15:49:08 449

原创 hfg

第一问伪代码:main()/*----------------------------------------------启动函数--------------------------------------*/{ 启动Doctor函数,传入参数n==0; for(q=1;q<iCount;q++){ if(max<=b[q])

2014-12-14 15:39:56 564

原创 未完成

package jihe;import java .util.*;import java.awt.geom.Area;import java .lang.*;import java.util.Scanner; public class Jihe{int a;/*基本几何图形的边长*/int b;/*基本几何图形的边长*/double r;/*圆半径*/int c

2014-11-06 11:40:58 448

原创 5644

package sc;class Point{     int x;    int y;}class Triangle{Point a=new Point(2,3);Point b=new Point(3,4);                                  Point c=new Point(5,6);public float pe

2014-09-27 12:00:52 551

原创 余弦曲线

import javax.swing.*;import java.applet.*;import java.awt.*;import java.awt.event.*;public class Ch1_3 extends Applet implements ActionListener{ int x,y; double a;int flag; Button bn2=new Butt

2014-08-12 19:29:00 631

原创 10点半游戏(改编)

package C_c1;import java.util.Random;import java.util.Scanner;class Card2{ int Suit; //花色 char Number; //牌数 double Num; //游戏中的点数}public class Ch10_6{ static Card2[] OneCa

2014-08-12 19:26:31 1588

原创 从零开始—java中的多值输出问题

package GAME;public class AA {public static void main(String[] args) {int a[]=new int [5];a[0]=3;a[1]=2;a[2]=5;System.out.println(+a[0]+","+a[1]+","+a[2]);}}

2014-08-06 22:11:28 539

原创 从零开始—java中第一个数组

package GAME;public class AA {public static void main(String[] args) {int a[]=new int [1];System.out.println(a[0]);}}

2014-08-06 21:49:40 833

原创 从零开始—素数阶乘二合一程序代码(草稿)

package oo;import java.util.Scanner;public class A { public static void main(String[] args) { int choose; System.out.println("请输入选项:素数判断 阶乘计算 退出"); Scanner sc =new Scanner(System.in);

2014-08-06 21:22:37 1080

转载 FPA性格色彩工具测试英文版

Four-color Personality Analysis Test From the test maker: Please focus on who you really are inside ofyou, not who you are when you are working. Your habit, education, social statusand a

2014-08-04 21:57:09 4869

原创 从零开始—随机种子的应用

package no;import java.util.Random;public class Test9 {public static void main(String[] args) { Random rand = new Random();int i = rand.nextInt();int c = rand.nextInt();c = rand.nextInt(

2014-08-04 21:18:27 562

原创 从零开始—实践打开咖啡导出的jar程序(以“sushu.jar“为例)

1、首先在开始中搜索“cmd”以打开mi

2014-07-30 21:48:09 572

原创 从零开始—久违的判断素数程序(表示用咖啡写了好长时间) -__- !

package df;import java.util.Scanner;public class No {public static void main(String[] args) { int i,m; double k; Scanner sc =new Scanner(System.in); i= sc.nextInt(); sc.close(); k=Math.sqrt

2014-07-30 21:18:41 528

原创 从零开始—一个数的阶乘(以c的思想渗透咖啡)

package cn.jave.ss;import java.util.Scanner;public class Hello1 {public static void main(String[] args) {int a,b;Scanner sc =new Scanner(System.in);a= sc.nextInt();sc.close();b=1;while (a>0)

2014-07-29 20:58:28 570

原创 从零开始—尝试java的for循环

编写程序求

2014-07-26 21:25:41 481

原创 从零开始—第一个简单的java程序

package cn.jave.ss;public class hello {public static void main(String[] args) { System.out.println("hello world ");}}

2014-07-25 21:51:34 463

转载 week12之该好好学习了-_-! 不厌其烦地打完了老师的程序

/* Note:Your choice is C IDE */#include "stdio.h"#define N 45int inputss(char names[][20],int score[],int num);void printss(char names[][20],int score[],int num);void getmax(char names[]

2014-05-20 20:00:12 544

转载 week10--第四题(百度)

先说一下我所想的思路,我想利用函数

2014-05-03 12:03:13 498

原创 week10--第三题 (不太会用递归,希望大家完善,提出问题)

#include "stdio.h"#define N 10int LOL(int a){        int c[N];        for(a=0;a         c[a]=a;        }        for(a=9;a>-1;a--){         printf("c=[%d]=%d ",a,c[a]);}       

2014-05-03 10:35:36 461

原创 week10--作业第二题~

#include "stdio.h"int factorial(int a){    int b;    b=1;       while(a>0){    b=a*b;    --a;   }   printf("%d ",b);   return a;}void main(){ factorial(8);}

2014-05-03 10:14:36 518

原创 week--10作业第一题,比较繁琐。-_-!

#include "stdio.h"#define N 36int Fibonacci(int a){  int dota[N];  dota[0]=0;dota[1]=1;    for(a=2;a      dota[a]=dota[a-1]+dota[a-2];  }  for(a=35;a  printf("dota[%d]=%d\n

2014-05-02 21:00:29 604

转载 分享--------日历程序(自己打入,检验后有三个警告,但可运行,欢迎大家完善此程序)

#include "stdio.h"const int monthDays[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};const int yearBase=2000;const int weekDayBase=6; main(){    void PrintIntroduction();    int IsLegal

2014-05-02 19:09:09 471

转载 全局变量和局部变量

一。全局变量和局部变量1。局部变量他是 指在函数内部定义的变量 作用域为定义局部变量的函数 也就是说他只能在定义他的函数中使用最值得注意的是 只有在程序执行到定义他的模块时才能生成,一旦执行退出该模块则起变量消失eg.func (){   int x;   局部变量x的作用域 很明确   ......}2。全局变量在程序执行的过程中一直有效

2014-04-22 19:59:02 584

原创 函数热身 练习一

#include "stdio.h"#include "math.h"void main(){    int x;    int y;    int sum;    sum=LOL()+DOTA();    sum=sqrt(sum);    printf("the sum is %d ",sum);}int LOL(int x){ scan

2014-04-22 18:55:30 407

原创 输出两个随机矩阵,并且相加

#include "stdio.h"#define N 5#define M 5void main(){int i;    int j;    int a[N][M],b[N][M],c[N][M];              srand(time(NULL));    for(i=0;i     for(j=0;j      a[i][j]=ran

2014-04-20 17:16:07 1126

原创 随机对称矩阵

#include                        #include                                                                       #define M 5                             #define N 5                          

2014-04-18 08:39:49 826

原创 矩阵rand

#include                        #include                                                                       #define M 5                             #define N 5                          

2014-04-16 21:40:43 667

转载 第二题

#include "stdio.h"  #include  void main()  {     int a[250];          int s,b;     srand(time(NULL));     for(s=0;s   a[s]=rand()%100;     if(a[s]>50)     printf("a[%d]=%d\n ",s,a[s]);}       }

2014-04-16 21:37:33 372

转载 第四题:对3中的程序进一步改进,要求使用数组来存储这些学生的学号,同时要求学号不能重复(班主任)

/* Note:Your choice is C IDE */#include "stdio.h"#include "stdlib.h" #define N 25main(){ int i,j,temp; int students[N]; for(i=0;i  temp = rand()%45 +1 ;     if(i>0){         

2014-04-15 19:44:53 672

原创 随机数---应用随机数种子

#include #include #include main() {  int i;  int j;srand( (unsigned)time( NULL ) ); for(i=1;i   j=rand()%45+1;   printf("%d ",j);}}

2014-04-15 19:37:41 511

原创 第二题输入7个45随机数

#include#include#includemain(){ int i; int j; for(i=1;i  j=rand()%45+1;  printf("%d ",j);}}

2014-04-15 19:09:43 532

原创 输入45个1--45的随机数

#include#include#includemain(){ int i; int j; for(i=1;i  j=rand()%46;  printf("%d ",j);}}

2014-04-15 19:05:05 2034

原创 作业(数组)---运行环境winTC(二)



2014-04-15 17:23:33 550

原创 作业(数组)---运行环境winTC(一)

1、首先数入一个长度为10的整型数组并顺序输出#includemain(){int a[10]int i;for(i=0;iscanf("%d",a[i]);for(i=0;iprintf("%d ",a[i]);getch();}2、倒序输出:#includemain(){int a[10]int i;for

2014-04-15 10:34:07 755

原创 清明作业

1.#include "stdio.h"void main(){    int a;    scanf("%d",&a);    printf("%o %d %x",a,a,a);}2.#include "stdio.h"void main(){    float a;    scanf("%f",&a);    printf("%0

2014-04-04 22:39:42 399

转载 记忆---一个数的阶乘程序

#include void main(){int factorial,number;scanf("%d",&number);factorial=1;while(number>0){factorial=factorial*number;--number;}printf("%d",factorial);}

2014-04-04 08:19:59 482

jsmooth-0.9.9-7

jsmooth-0.9.9-7.zip下载完就可以使用。

2014-08-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除