搜索资源列表
HomeWork2
- 用Java编写实现输入学生成绩,学号等信息,输出学生成绩等级,成绩平方和等项-Written in Java to input student achievement, student number, and other information, the output level of student achievement, achievements square and other items
calculator
- 功能:实现一个计算器应用程序 实验要求:编写一个模拟计算器的应用程序,使用面板和网格布局, 添加一个文本框,10个数字按钮(0~9),4个加减乘除按钮, 一个等号按钮,一个清除按钮,一个求平方根按钮,一个退格按钮, 要求将计算公式和结果显示在文本框中,实现效果如下图所示,-Functions: a calculator application requirement of experiment: write a simulation calculator appl
carre_magique
- simple program that generates a magic square
PlayfairCoder
- Playfair密码(英文:Playfair cipher 或 Playfair square)是一种替换密码,1854年由查尔斯• 惠斯通(Charles Wheatstone)的英国人发明。-Playfair password (English: Playfair cipher or Playfair square) is a substitution cipher, invented in 1854 by Englishman Charles Wheatstone (Charle
mata
- 马踏棋盘-设计一个国际象棋的马踏遍棋盘的演示程序。将马随机放在国际象棋的88 棋盘Board88 的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64 个 方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,…,64 依次填入一个88 的阵,输出之。-Horse riding board- design a chess the horse travels chessboard demo program. Horse randomly i
OddMagic
- 奇数幻方:有一N*N的方阵,其中n为奇数,在n*n的幻方内将1到n^2的整数填入其中,是的其各行,各列及对角线的和都相等。-The odd magic square: a N*N matrix, where n is an odd number, in the n*n magic within 1 to n^2 integer which is filled, the rows, columns and diagonal and are equal.
PA2
- You will create a small grocery store simulation, Grocery.java. There are 6 items for sale: Banana - $1.25 Broccoli - $0.65 Juice - $2.60 Sugar - $4.85 Butter - $3.73 Bagel - $3.25 Your applet should be 300px by 300px pixels in size and
Abstract
- 如何使用抽象方法的示例。用抽象类实现对长方形,正方形,圆形面积的计算,然后实现对随机产生的是个图形面积的累加(图形的形状和长、宽、半径均随机产生)-Abstract class implements a pair of rectangular, square, circular area is calculated, and then implement the randomly generated graphics area accumulate (the shape of the graph
JavaScript-Calculator
- 用 Javascr ipt 编写一个简单的计算器。实现一个标准型计算器的基本功能;实现加,减,乘,除,取余,开平方,求倒数等基本运算; 支持正负号,小数点输入;实现Backspace, CE, C键的功能;-A simple calculator written in Javascr ipt. Achieve the basic functions of a standard calculator addition, subtraction, multiplication, divisio
Triangle-and-cylinder-class-package
- (1)创建一个三角形类Triangle,包含的属性有三条边的长sideA,sideB,sideC,包含的方法有构造方法(两个,一个没有参数,一个给定三条边的长度),求面积方法area(),求周长方法getLength(); 提示:设三角形的三边长为a,b,c,则它的面积为 ,其中S=(a+b+c)/2,开平方的方法为Math.sqrt()。 (2)创建一个圆柱体类YZT,包含的属性有底面半径radius和圆柱体的高heigth,包含的方法有构造方法(两个,一个没有参数,一个给定半径rad
Draw-rect-and-ovals
- 通过java画椭圆和方形叠成效果,有层次感,给人3D的感觉-Diecheng effect through java painted oval and square, layering gives 3D feeling
Moni
- 模拟示波器 可以提供调频 调幅功能 并且提供正弦波 方波等波形信号-The analog oscilloscope AM FM sine wave square wave waveform signal
Dealwithshapes
- 画图功能,能画出圆,长方形,正方形等,当你输入你要画的图形时程序就会自动画出图形。-Drawing functions to draw circle, rectangle, square, etc., when you enter you to draw graphics program will automatically draw the graphics.
draw
- 一个java开发的画图版小程序,可以画直线,矩形和圆。比较适用于教学。-It is a piece of java Applet code,which can draw lines,square or circle.It is nice for teaching.
listener
- 设计接口Method,该接口仅有一个方法: double calArea( ),用于计算面积。 (2)设计矩形类Rectangle,并实现接口Method,要求如下: 成员变量length:int型,代表矩形的长度; 成员变量width:int型,代表矩形的宽度; 构造函数Rectangle(int l, int w):将length和width初始化为参数给定的值; 接口方法calArea( )的实现:根据长length和宽width计算矩形的面积。 (3)设计正方
magicmatrix
- 用二维数组打印魔方阵:每行每列对角线之和相等,经典算法-Print magic square: a two-dimensional array equal to the diagonal of each row and column, the classical algorithm
Calculator
- 一个简单计算器程序,仅有单次运算功能和开根号功能,适合新手学习,和Java编程作业的参考。-A simple calculator program, only a single arithmetic functions and square root functions, suitable for novice learning Java programming job reference.
CalculatorDemo
- 用JAVA语言实现一个计算机器,里面根号,加减乘除等运算,里面有注释对java编程的理解更清楚-JAVA language a computer inside the square root, addition, subtraction, multiplication and division operations, there is a clearer understanding of Note java programming
021_struts2_midProject_03
- 九宫格日记是一种新的日记方式:九个方方正正的小格子,像做填空题那样“对号入座”,填写上相应内容,就完成一篇日记-Diary Jiugongge is a new diary: nine square grid, as do fill in the blank " pigeon-holing" , fill to complete a diary
interface
- interface OnSquare{ float getArea() (面积) } class Circle(园) Class Square(正方形) class Triangle(三角形) 要求,在控制台输入1,Circle,10; area=r*r* 输入:2:square,10 20 area=a*b 输入 3,Triangle 10,20 area=a*b/2 输入 4 退出。并打印结果。所有shape(形状)的面积和