作业帮 > 综合 > 作业

count how many numbers?java count question

来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/06/05 10:57:19
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
count how many numbers?java count question
声明和创建containin以下值:9整数数组.1. - 2,16,40,15,26,47,18,-9},然后写一个程序,程序应该使用一个循环,计数多少20.最后,该计划应作为输出打印此计数值吗?