C语言函数 怎么显示??怎么显示啊

我想要显示10个随机数 可是运行后什么也不显示

/*教材140页 第三题*/ 
#include "stdio.h" 
#include <stdlib.h>
float hanshu ();        /*函数声明*/ 
int main()
{
float hanshu ();
}
float hanshu ()        /*函数定义*/ 
{
float n,m,x;
while (m<10)
{
n=rand();
if (n>1000 and n<10000)
    {
    m=m+1;
    x=n/10.0;
    printf("%0.1f ",x);
    }
else
    continue;
}
}




![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/800238854466143.jpg "#left")


我想要达到的结果 运行后显示10个随机数

第7行改为hanshu();就可以了,你这么写,是函数定义,不是函数调用

7行是函数定义不是函数调用;while(m<10),这m没有赋初值,这个m的值是不确定的!