中国方言数量:请教一个C语言的题目!

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/05 04:01:11
大家好啊, 能帮我解决一个C语言的题目吗,谢谢了!
请编写函数void fun(int *a, int *n, int y),它的功能是:把y值插入到a数组中,a数组中的数由主函数按由小到大的次序从键盘读入,y的值也从键盘读入。插入后,数组中的数仍然有序。
好的话我会提高赏金的哦!

#include <conio.h>#include <stdio.h>#define M 50void fun (int a[], int x, int *n){/..............

Posted by Eika at 15时40分29秒 | Read more | Comments (0) | Trackback (0) | Edit |