

InterviewSolution
Saved Bookmarks
1. |
Solve : while loops? |
Answer» Hi, I'm trying to learn Java from a book i found at the local library, is this possible without actually having the software? And secondly, can anyone show me an example of a Java while loop using if and else?. The task I've set myself is to sort a pack of cards (20?) with only four different images, 2 squares shaded/plain , 2 circles shaded/plain.Any help would be appreciated. Regards Cat. Code: [Select]function BreakTest(BREAKPOINT){ var i = 0; while (i < 100) { if (i == breakpoint) break; i++; } return(i); } * courtesy Windows Scripting Technologies Quote I'm trying to learn Java from a book i found at the local library, is this possible without actually having the software It's EASIER if you have the software so you can follow along. I do not recommend this should you have an interest in learning to fly. |
|