恒美微站
首页
关于我们
建站服务
主题模板
案例展示
资讯中心
联系我们
No1-绪论
首页
资讯中心
/
No1-绪论
No1-绪论
发布时间:2026/10/11 4:37:01
中国大学MOOC_优质在线课程学习平台 https://www.icourse163.org/C语言程序设计精髓_哈尔滨工业大学_中国大学MOOC(慕课) https://www.icourse163.org/course/HIT-690051、codeblocks安装并新建项目2、变量的使用#include stdio.h int main() { int price,change; printf(请输入金额元); scanf(%d,price); change100-price; printf(找您%d元\n,change); return 0; }3、常量的使用#include stdio.h int main() { int price0; int change0; const int AMOUNT100; printf(请输入金额元); scanf(%d,price); changeAMOUNT-price; printf(找您%d元\n,change); return 0; }