employer cover photo
employer logo
employer logo

Raja Software Labs

Is this your company?

Raja Software Labs interview question

Print Pattern using any language

Interview Answer

Anonymous

7 Jun 2022

class demo { public static void main(String args[]) { for (int j=1; j<=5; j++) { for (int k=5; k<=j; k--) { Sysytem.out.println(" "); } for (int i=1; i<=5; i++) { Sysytem.out.println("*"); } Sysytem.out.println( ); } } }