C++的程序输出题~20题~高分

来源:百度知道 编辑:UC知道 时间:2024/06/24 09:42:53
20题~~满意再追加100分..由于有点长~BAIDU不给发~~~题目如下

http://www.23fly.com/q.txt
谁给出了答案~~马上给分

1、139
2、输入除了9之外的任意一个整数时输出:Hello;
输入9时输出:Goodbye.
3、输入大于等于10的整数时输出:Hello
Googbye
输入小于10的整数时输出:Goobye。
4、HeLLo!
5、The value of x is:2
The value of x is:3
The value of x is:4
The value of x is:5
The value of x is:6
The value of x is:7
The value of x is:8
The value of x is:9
The value of x is:10
The value of x is:11
The final value of x is:11
6、0 1 2 3 4 5 6
7、The student with a grade of 75 Passed
The student with a grade of 45 Failed
8、The value of x is 1
The value of x is neither1,4 nor 6
The value of x is neither1,4 nor 6
The value of x is 4
The value of x is 6
The value of x is neither1,4 nor 6
The value of x is 6
The value of x is neither1,4 nor 6
The value of x is neither1,4 nor 6
The value of x is neither1,4 nor 6
9、1 2 4 5 6