CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 deletions
7
Task/Count-in-octal/Java/count-in-octal.java
Normal file
7
Task/Count-in-octal/Java/count-in-octal.java
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
public class Count{
|
||||
public static void main(String[] args){
|
||||
for(int i = 0;i >= 0;i++){
|
||||
System.out.println(Integer.toOctalString(i)); //optionally use "Integer.toString(i, 8)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue