Write a program in Java to display the following pattern:
344555666677777
45 Likes
public class KboatPattern { public static void main(String args[]) { for (int i = 3; i <= 7; i++) { for (int j = 3; j <= i; j++) System.out.print(i); System.out.println(); } } }
Answered By
23 Likes