文件名称:daima
介绍说明--下载内容均来自于网络,请自行研究使用
刚学到printf函数和scan函数,很是一个不清楚,求几段经典范例代码,初学者入门用的。
另外有几道题求解,万分感谢!!
1.试尽量用多种不同的C代码,描述把整型变量i的值增加1的运算
2.试分别用最紧凑的一条C代码描述完成下列计算
1)把整型变量i和j的和赋给整型变量k,并同时让i的值增加1.
2)把整型变量X值扩大一倍
3)在变量i减去1后,将变量j减去变量i
4)计算变量i除变量j的余数r-Printf function and scan just learned function, it is a clear, find the classic example of code paragraphs, beginner use. Another problem solved Jidao extremely grateful! ! 1. Try as much as possible with a variety of C code, describes the value of the integer variable i by 1 computation 2. Subjects were the most compact descr iption of a C code to complete the following calculation 1), the integer variable i and j, and assigned to the integer variable k, and also to increase the value of i 1.2) to double the size of an integer value of the variable X 3) minus 1 in the variable i, after subtracting the variable j variable i 4) In addition to calculating the variable i the remainder of the variable r j
另外有几道题求解,万分感谢!!
1.试尽量用多种不同的C代码,描述把整型变量i的值增加1的运算
2.试分别用最紧凑的一条C代码描述完成下列计算
1)把整型变量i和j的和赋给整型变量k,并同时让i的值增加1.
2)把整型变量X值扩大一倍
3)在变量i减去1后,将变量j减去变量i
4)计算变量i除变量j的余数r-Printf function and scan just learned function, it is a clear, find the classic example of code paragraphs, beginner use. Another problem solved Jidao extremely grateful! ! 1. Try as much as possible with a variety of C code, describes the value of the integer variable i by 1 computation 2. Subjects were the most compact descr iption of a C code to complete the following calculation 1), the integer variable i and j, and assigned to the integer variable k, and also to increase the value of i 1.2) to double the size of an integer value of the variable X 3) minus 1 in the variable i, after subtracting the variable j variable i 4) In addition to calculating the variable i the remainder of the variable r j
(系统自动生成,下载前可以参看下载内容)
下载文件列表
daima.doc