题目:利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b这是条件运算符的基本例子。
上传时间: 2015-01-08
上传用户:lifangyuan12
微软八十年代老程序员的经验之谈,探讨如何编写编写高效无错代码,也是华为开发人员的必备宝典
上传时间: 2013-12-10
上传用户:xc216
光纤通信基础,华为的资料.rar
上传时间: 2015-03-03
上传用户:TF2015
光纤和光缆通信基本知识,也是华为的.rar
上传时间: 2015-03-03
上传用户:stvnash
最常用的java代码规范,在华为及金碟都有使用记录
上传时间: 2015-03-30
上传用户:ynsnjs
包括《人月神话》,《微软模式》,《华为编程开发规范与案例》,《UML with Rational Rose 从入门到精通》,《UML 中文教程》,《UML 参考手册》,《UML 1.3 标准》
标签:
上传时间: 2014-01-14
上传用户:1079836864
国内外知名企业的求职笔试大全,包括微软,IBM,华为,中兴等在内,部分还有参考答案,相信对想在IT界大展宏图的你会有很大的帮助的!哈哈!
标签: 笔试
上传时间: 2014-01-27
上传用户:417313137
信息管理系统讲义pdf格式,适合软件开发初学者学习,附华为编码规范和范例
上传时间: 2015-05-13
上传用户:Miyuki
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上传时间: 2015-05-21
上传用户:daguda
源代码\用动态规划算法计算序列关系个数 用关系"<"和"="将3个数a,b,c依次序排列时,有13种不同的序列关系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要将n个数依序列,设计一个动态规划算法,计算出有多少种不同的序列关系, 要求算法只占用O(n),只耗时O(n*n).
上传时间: 2013-12-26
上传用户:siguazgb