C语⾔中函数的写法
#include<stdio.h>againstallodds
wednesday怎么读// function prototype, also called function declaration
float square ( float x );厄尔尼诺英文
// main function, program starts from heresure是什么意思
sloganint main( )
{
gone with the wind
float m, n ;
printf ( "\nEnter some number for finding square \n");
central timescanf ( "%f", &m ) ;
// function call
n = square ( m ) ;
printf ( "\nSquare of the given number %f is %f",m,n );
}
float square ( float x ) // function definition死人的复仇
{
float p ;
p = x * x ;
return ( p ) ;
再见英文
}
bad day mv⼀个不错的⽹站