//scanf()函数不要在格式串中加\n
#include
void main()
{
double length,width,s;
printf("Enter the length of the room:");
scanf("%lf",&length); //
printf("Enter the width of the room:");
scanf("%lf",&width); //引号位置有问题
s=length*width;
printf("s=%lf\n",s); //double 用%lf (long double)
}
你的第五行输入语句中的引号位置错了,不应该引到最后,而且里面也不要加\n