Answer to Question #1233 in Java | JSP | JSF for Subhojeet

Question #1233
write a program to print 1st 10 natural no.
1
Expert's answer
2010-12-20T15:38:32-0500
public class Program { public static void main(String[] args) {
for(int i=1;i<=10;++i)
System.out.println(i);
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS