import java.util.Scanner;
public class Main {
public static void in(int[] array,int N){
for(int i=0;i<9;i++){
System.out.println(array[i]);
if(array[i]<N&&N<array[i+1])
System.out.println(N);
}
}
public static void main(String[] arg){
Scanner sc = new Scanner(System.in);
int[] array = new int[9];
for(int i=0;i<9;i++){
array[i] = sc.nextInt();
}
int N = sc.nextInt();
in(array, N);
}
}
0.0分
0 人评分
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)浏览:543 |
C二级辅导-计负均正 (C语言代码)浏览:631 |
【绝对值排序】 (C语言代码)浏览:695 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:626 |
输出正反三角形 (C语言代码)浏览:756 |
C语言程序设计教程(第三版)课后习题8.9 (C语言代码)浏览:802 |
P1000 (C语言代码)浏览:847 |
数对 (C语言代码)浏览:695 |
1017题解浏览:567 |
有关字符,字符串的输入输出函数说明浏览:464 |