文件名称:24
介绍说明--下载内容来自于网络,使用问题请自行百度
输入任意四个整数(0到10),运算符只有加减乘除,还有括号.每个数只能且必须用一次。要求判断这些表达的结果中是否有24。如果有,输出计算表达式:如输入4,6,1,1 输出 4*6*1*1 =24 (允许有括号)。-Enter any four integer (0-10), only addition and subtraction multiplication and division operators, as well as brackets. Each number only once and must be used. Requirements of these expressions to determine whether the results have 24. If so, the output computational expressions: such as the importation of 4,6,1,1 output 4* 6* 1* 1 = 24 (permit has brackets).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
24.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.