DEV Community

Cover image for Day 08: Unveiling the Magic of INTRODUCTION in Java, C++, Python, and Kotlin!
Nitin-bhatt46
Nitin-bhatt46

Posted on

Day 08: Unveiling the Magic of INTRODUCTION in Java, C++, Python, and Kotlin!

DAY - 08

For more Tech content Join us on linkedin click here

All the code snippets in this journey are available on my GitHub repository. πŸ“‚ Feel free to explore and collaborate: Git Repository

Today’s Learning :-

Pattern Problem

First Pattern: ( pattern_4 )

   4 4 4 4 4 4
   4 4 4 4 4 4
   4 4 4 4 4 4  
   4 4 4 4 4 4
   4 4 4 4 4 4 
Enter fullscreen mode Exit fullscreen mode

Second Pattern: ( sq_pattern )

   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
   1 4 9 16 25
Enter fullscreen mode Exit fullscreen mode

Third Pattern: ( cu_pattern )

1 8 27 64 125 216
1 8 27 64 125 216
1 8 27 64 125 216
1 8 27 64 125 216
1 8 27 64 125 216
Enter fullscreen mode Exit fullscreen mode

Fourth Pattern: ( alpha_seq )

F G H I J K

F G H I J K
F G H I J K
F G H I J K
F G H I J K

First Pattern: ( tri_num )

 1
 1 2
 1 2 3
 1 2 3 4
 1 2 3 4 5 
 1 2 3 4 5 6 
 1 2 3 4 5 6 7
Enter fullscreen mode Exit fullscreen mode

Second Pattern: ( tri_alpha )

A
A B
A B C
A B C D
A B C D E
Enter fullscreen mode Exit fullscreen mode

Third Pattern: ( tri_num_2 )

   10
   10 11
   10 11 12
   10 11 12 13
   10 11 12 13 14
   10 11 12 13 14 15
Enter fullscreen mode Exit fullscreen mode

Feel free to reshare this post to enhance awareness and understanding of these fundamental concepts.
Code snippets are in Git repository.

πŸ™ Thank you all for your time and support! πŸ™
Don't forget to catch me daily at 10:30 Am (Monday to Friday) for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! πŸ’»βœ¨

Top comments (0)