首先从键盘输入一个正整数n(n<100,代表数组元素个数),接着输入n个整数(代表数组元素)。然后再输入一个数x,要求将数组中所有不大于x的元素扩大1倍,并把处理后的数组元素输出,用空格分隔。
首先从键盘输入一个正整数n(n<100,代表数组元素个数),接着输入n个整数(代表数组元素)。然后再输入一个数x,要求将数组中所有不大于x的元素扩大1倍,并把处理后的数组元素输出,用空格分隔。
10
7 95 83 59 26 11 69 53 43 19
50
14 95 83 59 52 22 69 53 86 38