Syntaq :
/**
*
* @author mwpripanggalih
*/
public class Bilangan_1_10For {
/**
* @param args
the command line arguments
*/
public static
void main(String[] args) {
// TODO
code application logic here
int i;
for
(i=1;i<=10;i++)
{
System.out.println(i);
}
}
}
Screenshot :
EmoticonEmoticon