Big O NotationI guess when I saw the /= 2 in the first for loop, I was thinking log n. Now that I think about it, ...
Big O NotationI'm just working through some exercises trying to understand Big O Notation and would like to know i...
Trouble with if statement within a switch case.Its been awhile since I've needed to do anything with set precision but I'm pretty sure it goes befo...
Trouble with if statement within a switch case.Your if statement says (salary >= 40). I'm assuming you wants hours there not salary, cause I would ...
find average of numbers generated by for loopNo you shouldn't have to nest another loop. Just the sum variable inside the for loop. sum += height...
This user does not accept Private Messages