当前位置:首页
> Luz 第3005页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Or the maximum
Write a function that returns the maximum value in the array.In the main function, first input an integer n (1 ˂ n ˂ = 1…
PROGRAMMING:Campus singer competition
Contestant No.8 will take part in the campus singer competition, and program to read in 20 integers (between 70-100) and…
PROGRAMMING:Fibonacci sequence
Fibonacci sequence is such a sequence: 1, 1, 2, 3, 5, 8, 13, 21,..., the first two terms of the sequence are 1, starting…
PROGRAMMING:bubble sort
In the main function, first input an integer n (1 ˂ n ˂ = 100), then input n integers into the array, and then use bubbl…
PROGRAMMING:Selection sorting method
In the main function, first input an integer n (1 ˂ n ˂ = 100), then input n integers into the array, and then sort the…
PROGRAMMING:Bubble sort function
Write function to realize bubble method to sort real array from small to large. In the main function, first input an int…
PROGRAMMING:The sum of some elements of matrix
Program input integer n (1 ˂ n ˂ 10), and then input n * n integers (n-order matrix) in order to store in a two-dimensio…
PROGRAMMING:Matrix transpose
Program to exchange the row and column numbers of elements in array A and store them in array B (equivalent to matrix tr…
PROGRAMMING:Insertion sort
Write a function to realize the insertion sort method to sort the array from small to large. In the main function, first…
PROGRAMMING:Traversal of two dimensional array
Program to read in an integer n and output the following n * n matrix.###Input format:A positive integer n, n ˂ 20###Out…