simplejavaprogramming
代码说明:
题目:打印出杨辉三角形(要求打印出10行题目:输入3个数a,b,c,按大小顺序输出。 题目:输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。 题目:有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数 题目:编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n(Topic: Print out the Triangle (10 lines required to print out the Title: Enter the 3 numbers a, b, c, according to the order of output. Title: input array, the largest exchange with the first element, the smallest and the last element of the exchange, output array. Topic: There are n integers, to move back in front of the order m of the number of positions, finally becoming the foremost m m the number of number of topics: write a function, the input n is even, the call function evaluation 1/2+1/4+...+ 1/n, when the input n is odd, call the function 1/1+1/3+...+ 1/n)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!