Results 1 to 3 of 3
Thread: using for loop...pls help
- 12-13-2009, 08:20 AM #1
- 12-13-2009, 09:24 AM #2
Member
- Join Date
- Dec 2009
- Posts
- 5
- Rep Power
- 0
it's very natural that you will get this error...
in the for loop you have not given i=i+2...write as follows[the part you have omitted is highlighted]:-
int i;
for(i=1;i<=10;i=i+2)
sop(i);
- 12-13-2009, 09:30 AM #3
Similar Threads
-
Which loop to use?
By meee in forum New To JavaReplies: 1Last Post: 09-07-2009, 09:36 AM -
while-loop stopping on first loop
By davester in forum New To JavaReplies: 6Last Post: 06-26-2009, 08:46 PM -
Loop, is it what I need?
By dbashby in forum New To JavaReplies: 4Last Post: 04-14-2009, 04:28 AM -
while loop help
By kathyla18 in forum New To JavaReplies: 1Last Post: 03-02-2009, 06:49 PM -
can you help me with this for loop?
By java_fun2007 in forum New To JavaReplies: 6Last Post: 12-22-2007, 10:20 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks