No video

Number Pattern Program in Java|Number Pyramid Pattern in Java

  Рет қаралды 131,610

CS CORNER Sunita Rai

CS CORNER Sunita Rai

Күн бұрын

In this video, you will find complete logic and examples of 6 different types of Number Patterns in Java. Also, a great trick to print any type of pattern.
Subscribe to my channel and hit the bell icon to never miss an update in the future.
Also don't forget to LIKE & COMMENT.
I have discussed 6 patterns along with Logic and Program:
a)
1
2 2
3 3 3
4 4 4 4
b)
1
1 2
1 2 3
1 2 3 4
c)
1
2 3
4 5 6
7 8 9 10
d)
1
2 2
3 3 3
4 4 4 4
e)
1
1 2
1 2 3
1 2 3 4
f)
1
2 3
4 5 6
7 8 9 10
Channel Subscription:
🔗 / cscornersunitarai
Java Programming Tutorial Playlist
🔗 • Java Programming Tutorial
G-Suite Tools Playlist
🔗 • Videos on G-Suite(Goog...
Screen Recorder Playlist
🔗 • Screen Recorder Tools
Quizzes Playlist:
🔗 • Quizzes Videos
Online Teaching Tools Playlist
🔗 • Videos on Online Teach...
Thanks for watching my videos till the end, if you like my work please do Subscribe, Like, Comment, and Share!!
------------------------------------------------------------------------
🎥 MATERIALS THAT I USE FOR MY VIDEOS
www.amazon.in/...
🌍🌍GET Access to KZfaq Influencer Program Worth 999/- ABSOLUTELY FREE using Coupon🌍🌍
digitalachieve...
Use this COUPON Code: SPECIALOFFER
PS: Some of the links in this description are affiliate links that I get a kickback from 😜
------------------------------------------------------------------------
Follow Me On Social Media
►Facebook - / cscornersunitarai
►Personal Facebook A/c - / sunita.sharmarai
►Instagram - / cscornersunitarai
►Telegram - t.me/cscorners...
►LinkedIn - / cscornersunitarai
#JavaBasicsForBeginners #NumberPattern #NumberPatternInJava #StarLogic #NestedLoopsInJava #BasicJava #java #JavaTutorial #javaprogrammingtutorial #javatutorialforbeginners #howtorunprograminjava #javatutorial #javaprogramming #javaprogrammingtutorial #javabasicsforbeginners #cscornersunitarai #iterationstatement
Number pattern program in java
character pattern program in java
star pattern program in java
pyramid program in java
loops in java
nested loops
nested loops in java
java nested loops
nested loop
Nested Loop in Java
Nesting of For Loops in Java
nested for loop
nested while loop
nesting of loop
java nested loop
how the loops are nested
nested for loop tutorial
nested for loop
how to nest the loop
nesting the for loop
for loop nested tutorial
number pattern
character pattern
star pattern

Пікірлер: 138
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
*Got a question on the topic? Please share it in the comment section below and I will answer it for you.👍*
@somu2067
@somu2067 Жыл бұрын
Mam can we write java.util package
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
*Java Programming Tutorial Playlist:* kzfaq.info/sun/PLSDyGb_vtany6xtUDAh__zIIQ0WQ6n4ti
@MomsAdvice
@MomsAdvice 3 жыл бұрын
Your sequential coverage of topics are well appreciated 👏
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Thank you so much mam❤
@SimplySuman
@SimplySuman 3 жыл бұрын
In previous video we learned star triangle and now we're learning numbers. Thanks ma'am #SimplySuman
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Keep watching!
@NCCSGeethaPriya
@NCCSGeethaPriya 2 жыл бұрын
useful content 1 suggestion: make a complete tutorial about java or c or python so that the reach would be better
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
Thank you so much👍 yes will be doing.. Keep learning 🙂
@yasina63
@yasina63 2 жыл бұрын
Wow, very easy method thanks to my teacher.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
Glad you liked it👍 Keep watching
@rashidmn2270
@rashidmn2270 3 жыл бұрын
Your teaching way is very good. Keep it up............
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Thank you so much👍 stay connected
@kumaraswamytadi
@kumaraswamytadi Жыл бұрын
iam so happy, your explaination
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Thank you so much👍 keep watching
@rishabhdiwaker
@rishabhdiwaker Жыл бұрын
Thank you for making this easy to understand video👍🏻
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome👍 keep watching
@swyamranjan4701
@swyamranjan4701 3 жыл бұрын
SO NICELY EXPLAINED!!👍👍
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Thank you so much
@swyamranjan4701
@swyamranjan4701 3 жыл бұрын
@@CSCORNERSunitaRai 😊😊😊
@user-om2xr8tm7x
@user-om2xr8tm7x 8 ай бұрын
Love u man really good explanation
@BillionairesLifestyle786
@BillionairesLifestyle786 Жыл бұрын
Very nice explanation teacher thank you God bless you 🙏
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome! 😊Please subscribe 👍
@peddaboyenasuniljayachandr3010
@peddaboyenasuniljayachandr3010 Жыл бұрын
thank you mam your explain is simple way
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Glad it helped you👍
@sirishasiri982
@sirishasiri982 8 ай бұрын
very easily understand thank you 🙏
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 ай бұрын
You're welcome!👍Please subscribe😊
@ahappylife9861
@ahappylife9861 Жыл бұрын
Mam how to do for any pattern because we can,t remember all the patterns may come in exams we have no idea tell me please after 2 days I have final exam tell me help your student , your follower in coding
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Hii, thank you for following me. Generally you have to develop logic for triangle (upper, lower nad combined). Then go for pattern with spaces. Then pattern with numbers and alphabet. If u are thorough with these then through practice u will be able to write complex pattern to. Only practice and logic will help u.
@lakshmipriya-no7fw
@lakshmipriya-no7fw Жыл бұрын
good explanation and easy program
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Thank you so much👍 keep watching
@luckylalit6951
@luckylalit6951 3 жыл бұрын
Thankyou so much mam this vedio is very usefull
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Glad it help you👍stay connected
@annu0317
@annu0317 Жыл бұрын
Well appriciated ma'am
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome👍 please subscribe 😊
@Englishwithhimanshu8581
@Englishwithhimanshu8581 Жыл бұрын
Hello ma'am i think you have done one mistake in the 4 and 5 no question,we need only three space but you have given 4 spaces ( i have doubt here )
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Ok. Thanks for informing👍 Please make necessary change in your code 😊please subscribe
@cricketkingdom9954
@cricketkingdom9954 9 ай бұрын
Excellent mam
@munirajm1300
@munirajm1300 2 жыл бұрын
Awesome mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
Thank you so much👍 Explore my channel for such more stuff.
@rajuamarapini3872
@rajuamarapini3872 3 жыл бұрын
Thank you so much 🥰🥰
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Welcome 👍stay connected
@cameraon2265
@cameraon2265 2 жыл бұрын
thanks a lot mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
You're welcome👍 keep watching
@Wasim0090
@Wasim0090 2 жыл бұрын
Nice 👍
@programmersurya1
@programmersurya1 Жыл бұрын
Hlo madam good morning .... could you please explain print prime numbers in patteran program formation....
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Ok
@suyakisaneeshwar8506
@suyakisaneeshwar8506 Жыл бұрын
Hi madam i am from tamil nadu .. i would like learn programming language.. but i am not a well english knowledge so Could it be a hindrance to my future madam?
@ayushgaming4553
@ayushgaming4553 5 ай бұрын
Mam you can explain in hindi too ❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai 5 ай бұрын
Yes ayush Mera hindi channel bhi hai Code with Sunita
@ayushgaming4553
@ayushgaming4553 5 ай бұрын
@@CSCORNERSunitaRai ok mam thank u 🙏🏻 ☺️
@luckyloser7387
@luckyloser7387 2 жыл бұрын
thanks for this help maam❤❤❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
You're welcome👍 keep watching
@ANCinterior
@ANCinterior 3 жыл бұрын
Really appreciate your content always informative content. #Vijaykumarinterior
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Thank you so much👍
@muralidharan5272
@muralidharan5272 2 жыл бұрын
Array in Matrix method
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
𝗥𝗲𝗳𝗲𝗿 𝘁𝗵𝗶𝘀 𝗽𝗹𝗮𝘆𝗹𝗶𝘀𝘁: Arrays in Java: kzfaq.info/sun/PLSDyGb_vtanz90QHcHlZHQwnMRw9xEmsf
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
𝗣𝗹𝗲𝗮𝘀𝗲 𝘀𝘂𝗯𝘀𝗰𝗿𝗶𝗯𝗲 𝗮𝗻𝗱 𝘀𝗵𝗮𝗿𝗲 𝗺𝘆 𝗰𝗵𝗮𝗻𝗻𝗲𝗹 𝗶𝗳 𝗶𝘁 𝗿𝗲𝗮𝗹𝗹𝘆 𝗵𝗲𝗹𝗽𝗶𝗻𝗴 👍✅
@ailachanakyadarahas6156
@ailachanakyadarahas6156 2 жыл бұрын
Mam which college u have completed u r b.tech and in which year. Bcoz u r explanation is excellent
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
Thank you so much👍 Glad you like my explanation.... I m in teaching from last 15years😌😇
@976shark
@976shark Жыл бұрын
what was the use of the (int count) in the example at minute 9 ?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
For printing one of the pattern I created but later pattern I forgot to use. U can remove that
@deepshikhaupadhyay1939
@deepshikhaupadhyay1939 Жыл бұрын
Please explain proper function of update statement here
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Which function?
@7-_642
@7-_642 Жыл бұрын
Why j
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
which part of video? specify timestamp
@johnbenedickabadilla9125
@johnbenedickabadilla9125 Жыл бұрын
Excuse me mam how bout summing up all the numbers ni the last pattern . I am trying different ways but somehow I'm not getting it. I hope you notice this message this would gladly help me on my assignment
@parvsaxenarollno3483
@parvsaxenarollno3483 3 жыл бұрын
Is there any video related Fibonacci series please
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
No, I'll share short link of it
@parvsaxenarollno3483
@parvsaxenarollno3483 3 жыл бұрын
Please🙏 share
@samuelrana10
@samuelrana10 2 жыл бұрын
how do i make it a pattern of either 1 or 0, instead of 1,2,3,4
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
This can be done by checking even and odd positions.
@ritukanwar9236
@ritukanwar9236 3 жыл бұрын
Why we are using sopln() in outer loop?? Please answer
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
It's for getting the 2nd line pattern on next line and so on.. Whenever you want to create pyramid pattern it's needed to get pattern on next line
@ritukanwar9236
@ritukanwar9236 3 жыл бұрын
@@CSCORNERSunitaRai can we write sopln( ) ,Instead of sopln ()?
@ritukanwar9236
@ritukanwar9236 3 жыл бұрын
@@CSCORNERSunitaRai thankyou for replying on my question 😊😊
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Yes you can but u will get more gap between lines
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
You're welcome👍 stay connected
@syedaiysha8226
@syedaiysha8226 11 ай бұрын
Tq somuch mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 ай бұрын
Most welcome 😊 Please subscribe👍
@Pawankumar26655
@Pawankumar26655 8 ай бұрын
Thanku ma'am
@aadyavatsa
@aadyavatsa 2 жыл бұрын
Hello mam can you please tell me how do i print # @# @#@ #@#@ in a triangle sequence do reply mam 🙏
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
char a = '@', b = '#'; for (int i = 1; i
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
Check this code.
@aadyavatsa
@aadyavatsa 2 жыл бұрын
@@CSCORNERSunitaRai Thank You so much mam, It really helped me a lot!!
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
@@aadyavatsa you're welcome 👍 Do explore my channel for more contents
@aadyavatsa
@aadyavatsa 2 жыл бұрын
@@CSCORNERSunitaRai sure mam I'll share it with my friends!
@SHA_POO1813
@SHA_POO1813 3 жыл бұрын
mam the third pattern is not printing
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Which 3rd pattern? Upper one or lower one
@welcomebro7622
@welcomebro7622 2 жыл бұрын
how to print count number in reverse
@nagasirisha7694
@nagasirisha7694 3 жыл бұрын
123*,12*4,1*34,*234 can u plz explain mam
@venkatakrishna5855
@venkatakrishna5855 Жыл бұрын
for(int i=1;i
@abhinavkumar2085
@abhinavkumar2085 2 жыл бұрын
Sunita rai name of my mother also wow
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
😇What a co incidence..
@CHILLARSTORY8544
@CHILLARSTORY8544 Жыл бұрын
2 3 5 7 11 13 17 19 23 29 Mam can write this code and make a video
@sateeshrathod9229
@sateeshrathod9229 3 жыл бұрын
10001 01010 00100 10001 And * * * * How to solve these patterns mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
In this pattern first row at place 1 and 5 , 1 isnprinted 2nd row place 2 and 4 , 1 is printed Try to implement logic now.. If u don't get I'll post
@nandinikumarnaidu1829
@nandinikumarnaidu1829 Жыл бұрын
1 2 3 4 5 6 7 8 9 print this pattern mam
@testpandit6506
@testpandit6506 3 жыл бұрын
Your code is not working
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Hey my code is working... Plz check u have not missed any of line
@azeezulhasan1228
@azeezulhasan1228 2 жыл бұрын
Mera run nh ho raha hai
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
Kya error aa raha hai?
@salbeats00
@salbeats00 2 жыл бұрын
Nothing but 😅😅❤️❤️
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
😇
@testpandit6506
@testpandit6506 3 жыл бұрын
It is printing but not the pattern
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Hey which pattern you are saying? First number pattern at 3:51
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
2nd pattern 4:31 3rd pattern 5:53 4th pattern 9:16 5th pattern 9:39 6th pattern 10:18
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
Please check your code whether all lines written correctly or not
@ahappylife9861
@ahappylife9861 Жыл бұрын
Mam your 3rd program is wrong
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Which 3rd?
@ahappylife9861
@ahappylife9861 Жыл бұрын
1 23 456 this
@ahappylife9861
@ahappylife9861 Жыл бұрын
Not compiling giving error
@sipunpatra381
@sipunpatra381 3 жыл бұрын
Mam how to write 1 3 5 7 9 11
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 жыл бұрын
its printing odd number...take another variable k, initialize it with 0 in outer loop and print and increment it by 2 inside 2nd loop
@abhishekabhi3142
@abhishekabhi3142 11 ай бұрын
I tried and modified your triangle pattern code to be dynamic in nature. public class Main { public static void trianglePattern1(int row){ for (int i=1;i
@guglothgopal3015
@guglothgopal3015 2 жыл бұрын
11 112 11123 1111234 111112345 tell me these patern madam, in interview ask these qustion to me.. plse Answer madam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
Surely I'll try. Give me few days. just doubt 1st line also having 11 twice?
@guglothgopal3015
@guglothgopal3015 2 жыл бұрын
@@CSCORNERSunitaRai Tnq madaam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
public class pattern2{ public static void main(String[] args){ for(int i=1;i
@guglothgopal3015
@guglothgopal3015 2 жыл бұрын
@@CSCORNERSunitaRai Madam plse I want a solution ..
@muralidharan5272
@muralidharan5272 2 жыл бұрын
Reverse this value how do
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
If u want to print in reverse order change for loop.
@muralidharan5272
@muralidharan5272 2 жыл бұрын
@@CSCORNERSunitaRai how mam example mam pls?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
@@muralidharan5272 Check 3rd pattern in this video kzfaq.info/get/bejne/fKd5Z9mZ1py6aXk.html
@muralidharan5272
@muralidharan5272 2 жыл бұрын
Pls give examples mam
@bhootar4910
@bhootar4910 Жыл бұрын
Aapko aata h islie aap bna de rhe h isme smjha nai rhe aap
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Maine to explain bhi kiya hai. Apko kaun sa part nahi samja aap poochon
@IamTejuPerala
@IamTejuPerala 2 жыл бұрын
2 5 7 10 12 14 17 19 21 23
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 жыл бұрын
public class pattern2{ public static void main(String[] args){ int k=2; for(int i=1;i
@IamTejuPerala
@IamTejuPerala 2 жыл бұрын
@@CSCORNERSunitaRai Thank You so much mam.
@kravikumar808
@kravikumar808 Жыл бұрын
1 9 2 10 8 3 14 11 7 4 15 13 12 6 5 Explain this program mamu
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Will try
How to solve any number pattern program in Java
18:15
Simply Coding
Рет қаралды 700 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 14 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,4 МЛН
65 Java Patterns Numeric 3 Code |
7:53
slidenerd
Рет қаралды 184 М.
Pattern Programs Tutorial: Part 15 - Reverse right-angled triangle
18:24
Programmer ONE - Sumit Tiwari - SoftEthics
Рет қаралды 137 М.
Character Pattern Program in Java|Alphabet Pattern in Java
6:54
CS CORNER Sunita Rai
Рет қаралды 58 М.
How to solve any Star Pattern Program
18:47
Simply Coding
Рет қаралды 1,1 МЛН
Pattern Programs Tutorial: Part 23 - Pyramid Pattern
22:35
Programmer ONE - Sumit Tiwari - SoftEthics
Рет қаралды 214 М.
Star Pattern in Java- 1 Program (Logic)
7:31
Talented Developer
Рет қаралды 105 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 14 МЛН