c how to program 习题2.16

c how to program 习题2.16

//c how to program 习题2.16 #include <stdio.h> int main(void) { int x, y; printf("请分别输入两个整数:"); scanf("%d%d",&x,&y); printf("它们的积是:%d\n", x*y); printf("它们的和是:%d\n", x+y); printf("它们的商是:%d\n", x/y); p ...

c how to program 习题2.4

c how to program 习题2.4

//c how to program 习题2.4 #include <stdio.h> int main(void) { int x, y, z; printf("请分别输入三个整数:"); scanf("%d%d%d", &x,&y,&z); int result=x*y*z; printf("这三个整数的积是:%d\n", result); }

c how to program 习题2.3

c how to program 习题2.3

//c how to program 习题2.3 #include <stdio.h> int main (void) { printf("请输入一个整数:"); int number; scanf("%d", &number); if (number != 7){ printf("The variable number is not equal to 7.\n"); } pri ...

C HOW TO PROGRAM 我有一个编程梦

C HOW TO PROGRAM 我有一个编程梦

8年前曾经自学这本书,学到十章左右,为了生活选择了放弃,但我一直还是有这样一个梦,2020年我要重拾梦想吗? 有兴趣的朋友一起学习吧,书本下载地址: 链接:https://pan.baidu.com/s/1-hckbtaS7Y_4a0xdI_KjkQ 提取码:lk09