文件名称:daima
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.11kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
刚学到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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.