//仅供参考#include int main(){ double len, wid, cyc, are; scanf ("%lf%lf", &len, &wid); cyc = 2*(len+wid); are = len*wid; printf ("周长:%f\n面积:%f\n", cyc, are); return 0;}