NABILA MILLIE COPYRIGHT®


Thursday, March 24, 2011

design the logic..

Design the logic for a program that prints every number from 1 through 10?

answer :

for (int i=1; i<=10; i++) {

System.out.println(i);

}

No comments:

Post a Comment