Wednesday, April 3, 2013

contoh "FOR"


 /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tugas;

/**
 *
 * @author surur
 */
public class buatfor {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
     for (int i=1; i<=1000; i++)
 {System.out.println(i+"\tSyifaus Surur");
        }
           
       
     
        }
    }

No comments:

Post a Comment