![](https://csdnimg.cn/release/download_crawler_static/86789112/bgf.jpg)
4.1基本概念
intarea(intlength,intwidth); //函数说明
voidmain()
{
intthis_length,this_width;
cin>>this_length;
cin>>this_width;
cout<<“rectangleis”
<<area(this_length,this_width); //函数调用
}
intarea(intlength,intwidth) //函数定义
{
intnumber;
number=length*width;
returnnumber;
}