搜索资源列表
Triangle
- 计算三角形的面积和周长,要求如下: (1)设计出point类(点类) (2)设计出triangle类(三角形类),至少包括其构造方法,获取面积和周长的方法。 (3)通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积周长等内容。 -Calculate the area and perimeter of triangles, requirements are as follows: (1) design point class (point) (2) design trian
Java2
- 编写一个Java应用程序,该程序中有3个类:Trangle、Leder和Circle,分别用来刻画“三角形”、“梯形”和“圆形”。-Write a Java application, the program has three classes: Trangle Leder and Circle, were used to portray the "triangle", "ladder" and "round".
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
P4_1
- 要求用户输入三个数(float类型),判断以这三个数为边长能否组成一个三角形-Requires the user to enter three numbers (float type) to determine whether the three numbers for the side length to form a triangle
java-classic-algorithm
- java经典算法,包括河内之塔,费式数列,巴斯卡三角形,三色棋,老鼠走迷官,八皇后等25个经典算法,想学习java的朋友不可错过-java classic algorithms, including the Tower of Hanoi, Fibonacci column, Pascal triangle, tri-color chess, mice go 25 fans officer, eight queens classic algorithms friends want to learn
triangle
- 在Drools中,编写的用于判断三角形的类型,对drools的学习有帮助-Used to determine the triangle type written in Drools, drools learning
1-4
- 根据不同的杨辉三角形的边长,生成并显示绘制杨辉三角形-Triangle side length, to generate and display the Drawing Triangle
Dysjx
- 用*实现多种等腰三角形打印方式,笔试经常考察-* Isosceles triangle Print conduct regular surveys, written
Canvasht
- 用java实现的Canvas绘图程序,实现显示 "直线", "弧", "矩形", "圆角矩形", "三角形", "文字"-With the java implementation Canvas drawing program, show " straight line" , " arc" , " rectangle" , " rounded rectangle" , " triangle&quo
different_shape
- 构造不同的形状如三角形,长方形等,然后输出形状并且画出来-Constructing different shapes such as triangular, rectangular shape, and then output and drawn
Triangle
- 三个值判断是否是三角形 (用在软件测试中的白盒测试和黑盒测试) -Three values to determine whether the triangle (white-box testing and black box testing in software testing)
Ex5
- 在窗口North上布置三个按钮,并完成按钮点击事件,点击三个按钮时,分别输出填充颜色的三角形,矩形和椭圆。-The arrangement of the three buttons in the window on the North, and the Done button click event, the three buttons is clicked, the output filled with colored triangles, rectangles and ellipses.
bianxing
- 图形由圆形变成方形,由方形变成三角形,由三角形变成圆形,这样循环变换-Graphics from round to square, the square into a triangle, triangle into a round, so loop transformation
java2
- 采用java实现简单图形(本例为三角形图案)-failed to translate
AAA
- 输入层数打印三角形JAVA初学 小作业。JAVA编程-failed to translate
Yanghui2
- 一个等腰直角三角形,里面的每一个元素(1除外)都等于它上一行的元素和上一行元素的前一个元素之和。-An isosceles right-angled triangle, in which each element (excluding 1) is equal to the upper row element and the upper row of elements of the previous element of.
docCD1
- 这个程序能显示数字不断递增,形成三角形,没压缩码-This program can display numbers constantly on the rise, forming a triangle, no compression code
docCD
- 这个程序能显示数字不断递减,形成三角形,没压缩码-This program can display numbers continue to decline, to form a triangle, not compressed code
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(形状)的面积和
arithmetic
- Java常用算法20例 方法描述: 兔子生兔子问题 插入排序,快速排序 杨辉三角形 循环移动数组 4个计算题 2个排列 素数,水仙花数,回文数 因子,分解质因数,完数 最大公约数和最小公倍数 Date类计算 一个实际问题的对象化 -Java methods commonly used algorithm 20 cases Descr iption: Bunny Rabbit Health problems insertion sort, qui