If I ___________ (can afford) it, I would buy a boat.
查看答案
If it ___________ (has been, not) for your help, I really don’t know what I’d have done.
I ___________ (mean) to call on you, but was prevented from doing so.
程序填空题:从键盘输入一个整数,输出它的绝对值。public class AbsoluteValue{ public static void main(String[] args){Scanner scan=new Scanner(System.in);System.out.println("请输入一个整数");int num=scan.(1);int absolute=0;if(absolute>=0){absolute=(2);}else{absolute=(3);}System.out.println("绝对值为:"+absolute);}}
打印200-300之间的所有素数System.out.println("200-300之间的素数有:");for (int num = 200; num <= 300; num++){boolean isPrime =;for (int i = 2; i <= num - 1; i++){if (){isPrime =;break;}}if (isPrime){System.out.print(num + " ");}}