#include "stdio.h"#include "stdlib.h"int main(){float length, width;printf("请输入长方形的长和宽:\n");scanf("%f%f",&length,&width);printf("该长方形的周长为%f:\n",2*(length + width));system("pause");return 0;}