选择复合形式声明变量还是逐个形式声明变量
int arg1 = 0;
int arg2 = 0;
bool bIsOpen = false;
char str[] = "";
int copretionFunction(bool isOK)
{
if(isOK == false)
{
return 0;
}
arg1 = 17;
arg2 = 19;
int temp retNum = 0;
if((arg1 >= 0 && arg2 >= 0) || (arg1 == 17))
{
int temp = arg2 - arg1;
retNum = arg1 * (temp * 6);
}
return retNum;
}