不知道为什么运行不出来但其他人可以,是我电脑的问题吗#include<stdio.h>int main(){double x,y;int t;printf("请输入一个两位小数的实数:");scanf("你输入的实数为:x=%f",&x);t = x;printf("实数的整数为:t = %d\n ",t);y = x - t;printf("实数的小数为: y = %0.2lf \n", y);return 0;}
scanf里面不要写多余的字或者字符