最新回答 / 慕前端3368111
https://search.bilibili.com/all? ... 5%76%61%64%65%73%61https://search.bilibili.com/all? ... 9%71%6C%64%71%6F%62https://search.bilibili.com/all? ... F%63%64%74%62%6A%74https://search.bilibili.com/all? ... F%6F%69%6A%69%79%78https://search.bilibili.com/all...
2020-09-22
最新回答 / 慕圣4185480
正确程序为:#include <stdio.h>int main(){ double num =2.5; //定义浮点型变量num并赋值为2.5 int num2=(int)num; printf("num的整数部分是%d\n", num2); return 0;}
2020-09-22
#include <stdio.h>
#define POCKETMONEY 10 //定义常量及常量值
int main()
{
printf("小明今天又得到%d元零花钱\n", POCKETMONEY);
return 0;
}
#define POCKETMONEY 10 //定义常量及常量值
int main()
{
printf("小明今天又得到%d元零花钱\n", POCKETMONEY);
return 0;
}
2020-09-20