Saved Bookmarks
| 1. |
Newest Challenge for Programers !!Difficulty Level:- Very Hard.Q) WAP in JAVA to print the following pattern:-A B C D C B AA B C Z C B AA B Y X W B AA V U T S R AB C Q P O B CD E F N D E FG H I J H I J_HINT:- • Divide this square pattern into five smaller pattern• Out of five, four patterns are in the corner and remaining 1 pattern in the centre._Rule:-• Answerers must give Quality answers (with V.D. and Explanation of their program)_ |
|
Answer» Answer: { for(i=65;i<=69;++) { for(j=65;j<=i;j++) System.out.print((char)i); System.out.println(); } } } |
|