
spawning
cl.exe
这个错误的意思是在调用编译链接程序cl.exe时举胡庆出现错误,可能是路径设正握置不对,或者没做陪安装好环境。
#include<stdio.h>int main()
{
float hour
printf("How many hours did you excise?\nPlease input it ^_^ :")
scanf("%f",&hour)//输入函数中“”内不能加\n;
bool a,b
a=hour>=0.5
b=hour<=1
if(a&&b)//判断时候,因为拆培a和b本歼御昌身就是Bool型,直接用自身就行
printf("Congratulations!You've had a perfect day!\n")
else if(a&&!b)
printf("You are too tired!please have a rest!\n")
else if(!a)
printf("You did not finish your excise,please keep doing it!\n")
return 0
}
补充的问氏扒题在具体点
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)