> 其他 >
count how many numbers?java count question
这道题怎么写 write a program that declares and creates an array of 9 integers containin the following values :{ 1.-2,16,40,15,26,47,18,-9} .then,the program should ,using a loop ,count how many numbers are greater then 20 .finally ,the program should print out as output this count value
人气:377 ℃ 时间:2020-03-30 03:11:06
解答
声明和创建containin以下值:9整数数组.1. - 2,16,40,15,26,47,18,-9},然后写一个程序,程序应该使用一个循环,计数多少20.最后,该计划应作为输出打印此计数值吗?
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版