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