/* * Title: Don't know (exercise from ICS 11 A) * written by Arthur Gapusan (ajgapusan@hotmail.com) * http://www.planet-java.biz.ly * * Just input a numeric string in the commandline * * example: java Graph 12352341233123 * */ class Graph { public static void main(String args[]) { int x[] = new int[10]; for (int i=0;i<10;i++) { for (int j=0;j=k) graph[i][j] = "*"; else graph[i][j] = " "; } } for (int i=0;i<15;i++) { for (int j=0;j<10;j++) System.out.print(graph[i][j]); System.out.println(); if (i==14) System.out.println("0123456789"); } } }