public static Int positiveInts (Int[] n) { int noOfPositive = 0; for(int i = 0; i < n.length; i++){ if( n[i].lessThan(0)) break; else (noOfPositive++)} return noOfPositive; }
ยฉ 2026 Hedgehog Software, LLC