- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 图形计算
package tuxingjisuan;//三角形类public class Triangle { private double a,b,c; Triangle(double a,double b,double c){ this.a=a; this.b=b; this.c=c; } public void set_a(double a){ this.a=a;
2012-09-27 18:37:35 797
原创 数组调换
//数组调换public class TestNewMatrix { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int[][] a={{1,4,5,6},{7,2,10,11},{8,9,12,3}}; printMat
2012-09-20 18:59:26 1046 1
原创 降序排列
public class TestSort { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub sort(82319); } static void sort(int n) { int[] a = {n/10000,
2012-09-20 18:57:08 1016
原创 //完数
//完数public class TestComNum { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub printComNum(1000); } static void printComNum(int n){ f
2012-09-20 18:55:02 411
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人