Posted by nutz on Monday, January 21, 2013 at 7:31am.
here's some pseudo-code that you can easily implement in the language of your choice:
function allplus(int[] a) {
for each i in a
if (a[i] <= 0) return false
next
return true
}
Related Questions
physics - How much force must a weight lifter apply to a 97 kg barbell to ...
Physics - Can someone please show me step by step how to normalize e^-5x in the ...
algebra - please give me step by step instructions on how to solve the following...
algebra - please giveme step by step instructions on how to solve linear ...
Algebra help - f(x)=x^3-4x^2-x+4 How do I find the x-intercept for this? This is...
8th grade - I am having trouble with these kinds of problems and I ask my ...
math - 1) Write a translation rule that maps point D(7, 3) onto point D...
maths - trigonometry - I have my maths exam on Tuesday and cannot remember how ...
calculus--please help!! - Solve the inequality. x^3+9x^2-108 less than or equal ...
Statistics - How do you solve this? 28!/(28-28)!28! * 0.88^28 *0.12^28-28 I need...
For Further Reading