Jump to content

Count in octal: Difference between revisions

→‎{{header|Java}}: int will always be <= integer.max_value
(added php)
(→‎{{header|Java}}: int will always be <= integer.max_value)
Line 402:
<lang java>public class Count{
public static void main(String[] args){
for(int i = 0;i <>= Integer.MAX_VALUE0;i++){
System.out.println(Integer.toOctalString(i)); //optionally use "Integer.toString(i, 8)"
}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.