A. scanf(“%d%f”,&a,&x);printf(“%d,%f”,a,x); B. scanf(“%ld%f”,&a,&x);printf(“%ld,%f”,a,x); C. scanf(“%ld%lf”,&a,&x);printf(“%ld,%lf”,a,x); D. scanf(“%ld%lf”,&a,&x);printf(“%ld,%lf”,a,x); printf(“%ld,%f”,a,x);
编写程序求矩形的面积和周长,矩形的长和宽由键盘输入,请填空。#include void main(){ float l,w;____printf(“please input length and width of the rectangle\n”);scanf(“%f%f”,&l,&w);area=____;girth=____;}