编写Application程序,计算并输出sin10x+ctgx在x=3.5值。(sinx的10次方)

[复制链接]
查看11 | 回复1 | 2011-1-2 01:50:53 | 显示全部楼层 |阅读模式
public class ArrayTest { public static void main(String[] args) {int[] a=;System.out.println("逆序后");for(int i=9;i>=0;i--){ System.out.print(a+" ");}
System.out.println();int[] b=new int[5];System.arraycopy(a, 2, b, 0, 5);for(int i=0;i<5;i++){ System.out.print(b+" ");}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行