《《明解C语言》第1章初识C语言练习题答案(最新整理)》由会员分享,可在线阅读,更多相关《《明解C语言》第1章初识C语言练习题答案(最新整理)(4页珍藏版)》请在人人文库网上搜索。
1、个人观点】 练 习 1-1 #includeint main(void)printf(15减去的结果是%dn,15 - 37);return (0);练习 1-2#includeint main(void)printf(风n林n火nftn);return (0);练习 1-3#includeint main(void)printf(喂!n您好!nn再见n);return (0);练习 1-4#includeint main(void)int no;printf(请输入一个整数:); scanf(%d,&no);printf(它与10的和是:%dn,10 + no);return (0);练习 。
2、1-5#include3int main(void)int no;printf(请输入一个整数:); scanf(%d,&no);printf(该数减去10的结果是:%dn,no - 10);return (0);练习 1-6#includeint main(void)puts(风);puts(林);puts(火);puts(ft);练习 1-7#includeint main(void)int n1,n2; int wa;puts(请输入两个整数:);printf(整数:); scanf(%d,&n1);printf(整数:); scanf(%d,&n2); wa = n1 * n2;pri。
3、ntf(它们的和是:%dn,wa);return (0);练习 1-8#includeint main(void)int n1,n2,n3; int wa;puts(请输入两个整数:);printf(整数:); scanf(%d,&n1);printf(整数:); scanf(%d,&n2);printf(整数:); scanf(%d,&n3);wa = n1 + n2 + n3;printf(它们的和是:%dn,wa);return (0);“”“”At the end, Xiao Bian gives you a passage. Minand once said, people who 。
4、learn to learn are very happy people. In every wonderful life, learning is an eternal theme. As a professional clerical and teaching position, I understand the importance of continuous learning, life is diligent, nothing can be gained, only continuous learning can achieve better self. Only by consta。
5、ntly learning and mastering the latest relevant knowledge, can employees from all walks of life keep up with the pace of enterprise development and innovate to meet the needs of the market. This document is also edited by my studio professionals, there may be errors in the document, if there are errors, please correct, thank you。