Computer Science, asked by karan8733, 1 year ago

program to print first 20 natural numbers


shardul1925: language

Answers

Answered by shardul1925
1
public class program {
public static void main(String [] args) {
for(int i=1; i<21;i++) {
System.out.print( i + " ");
}
}
}



Hope it helps;)
Similar questions