![]() |
|
|
|||||||
| Directory | Register | FAQ | Members List | Calendar | Mark Forums Read | 中文 |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have to do this on notepad - please remember. And not BlueJ, plain, simple old-fashioned Java.I have to print a series such: 1, -2, 3, -4, 5, -6, etc.c(SOPln=System.out.println)import. etc..........public static etcint i,jfor (j=1; j<=1000; j=j+2){i==i-jSOPln(i)i==i+j+2SOPln(i)}etc.Will that work? Also tell me if there are any Syntax errors in there. Thanks.And i=1 after inthehe
![]() |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|