count how many numbers?java count question

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
其他人气:605 ℃时间:2020-03-30 03:11:06
优质解答
声明和创建containin以下值:9整数数组.1. - 2,16,40,15,26,47,18,-9},然后写一个程序,程序应该使用一个循环,计数多少20.最后,该计划应作为输出打印此计数值吗?
我来回答
类似推荐
请使用1024x768 IE6.0或更高版本浏览器浏览本站点,以保证最佳阅读效果。本页提供作业小助手,一起搜作业以及作业好帮手最新版!
版权所有 CopyRight © 2012-2024 作业小助手 All Rights Reserved. 手机版