用CreateRandData()、Sort()、InsertValue()三个函数实现以下功能:
A. 生成10个三位随机正整数放在a数组中;
B. 对数组中的元素进行升序排序,排序方法可任选(选择排序、冒泡排序、插入排序);
C. 任意输入一个整数,并插入到数组中,使之任保持有序;
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
void InsertValue(int array[],int length,int element);
void Sort(int array[]);
void CreatRandData(int array[