Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java program pattern program to triangle using 100 numbers

public class Main{ public static void main(String[] args){ int lines=10; int i=1; int j; for(i=1;i<=lines;i++){ for(j=1;j<=i;j++){System.out.print(i*j+" "); } System.out.println(""); } } }
Source by inlarn.com #
 
PREVIOUS NEXT
Tagged: #Java #program #pattern #program #triangle #numbers
ADD COMMENT
Topic
Name
6+6 =