Please SUBSCRIBE to get new videos of java tutorials. Also LIKE and SHARE if you find it useful. Feel free to put your doubts and queries in comment box.
Thanks... watch other pattern related videos Learn how to print * pattern questions in java Part 1 - Hindi th-cam.com/video/keE9NNu4m10/w-d-xo.html Learn how to print * pattern questions in java Part 2 - Hindi th-cam.com/video/JarOdPjfSRE/w-d-xo.html Pyramid Pattern in java (Any number of rows) - Hindi th-cam.com/video/4zTSLfdPW_E/w-d-xo.html Pascal Triangle Pattern - Hindi th-cam.com/video/kJHCPz7pGIs/w-d-xo.html
Really appreciate the content and simple teaching technique. I even recommended to my frnds bcoz its so neat. any plans to bring collections framework topics. Or at least algorithms on LinkedList, Hashmap etc? eagerly waiting.
Mam' You are great as well as nice experience in this level... i hope you are new videos and other pattern are developed in this channel.. love you mam, great voice
You explained very well but You explained one mathematical fact wrong that you typed : 5+1/2=3 Which is absolutely Wrong ❌ It should be: (5+1)/2=3 Otherwise, Your work is appreciable 🙌 Thank you 😊 💓
Sure, but pls allow me some time bcz my schedule is little tight and i get less time for recording ... I'll try to post videos as frequent as i can. Fibonacci series th-cam.com/video/HjiBtjBaQxk/w-d-xo.html
You need to modify little bit for different pattern. It depends what pattern you need to create. You can watch these patterns for help th-cam.com/video/4zTSLfdPW_E/w-d-xo.html th-cam.com/video/keE9NNu4m10/w-d-xo.html th-cam.com/video/JarOdPjfSRE/w-d-xo.html
This pattern is called Pascal's triangle... Just created the video after your query. here is the link... video is quite long but i tried to explain everything. pls review it. th-cam.com/video/kJHCPz7pGIs/w-d-xo.html
mam when i make this program i don't get correct output i get output that diamond (lower part of diamond slips one star right hand side compare to upper part of diamond) please tell me its solution
video ke starting me hi mene explain kiyq h ki odd kyun hoti h.. app fir se video starting se dekhe... agr apko even lines chahiye apko logic thoda sa modify krna pdega..
Space print krwane ke liye... printf function me bracket me jo likhoge whi print hoga. Space diya hai to space print hoga.. . Agar hum space nhi denge to sbi * chipak jayenge
Mam lower part mein j ki value 1 denay sy 1 star km print huta hein...... us mein j = 0 ky tou thk huta hein... is mein thora confusion hein... plzz bata do
Mam jaisa aapne kaha vo code to thik chal raha but agar main ... mid =lines +int1/2 Agar ye value main mid me put karta hu to ye even no. Ke liye bhi work kar rhaa hain but yeh no. of lines 9 print karta suppose Maine input diya no. Of lines =5 ; mid =lines +1/2 To ise lines to 5 print karni chahiye but ye 9 no. Of lines print kar raha hai that's confusing 😕😵🤔
i already mentioned in the beginning that this works in even number of lines... you can do coding if user enters odd number.... here in this video i m explaining logic and code of diamond pattern only
watch this video to understand this pattern... th-cam.com/video/keE9NNu4m10/w-d-xo.html and take a variable with name before for loop int s = 1; use this variable instead of * and after print statement change its value.. if(s==1){ s=0; } else if (s==0) { s=1; } i will upload video soon in few days
Aap even and odd numbers enter krwa kr if else use kr skte hai..even number enter kiya hai to you can display a message that please enter ode number.. Even number me diamond ban jayega but not perfect diamond shape.
Please SUBSCRIBE to get new videos of java tutorials.
Also LIKE and SHARE if you find it useful.
Feel free to put your doubts and queries in comment box.
i dont know why these type of channels have low subscriber
atleast 1k subscriber should be here
ICSE Paper Wala Haha, thank u so much for this kind reply.
One of the best video to understand the problem and concept. Thank you so much!
Best tutorial on this topic I've ever came across, Thank you so much for this
Best explanation ever in youtube.. thank you, please bring more videos
Now this is called an perfect explanation..................btw I am also Bansal ;)
U explained very clearly...ur teaching style is awesome
Thanks, you actually simplify how we can use logics. Thanks a lot
🙏
Thanks for the explanation. I have seen many videos but this is one clearer and easier to understand.
Thanks.... now my all doubts are clear....
thanks it was very helpful and well explained
Superb ma'am ,, God bless you,, now I am going to subscribe your channel.. ♥️
Perfect explanations i have found today...yepeee 👌👌👌🏻🙌🏻🙌🏻
Very nice. Very much understandable. Love from Bangladesh. Go ahead...
Thanks mam..for good explanation
Very good explanation.
Love you ma'am. What an explanation. Your teaching skills are remarkable. I am gonna subscribe you and like your video.
Ur teaching is unique in the world
🙏
really best understanding video
Waaaoow this explaination was superb !!
Nice method of teaching. ... love from Pakistan
thank you ma'am. very well explained.
Thanks Madam... This video is very useful...
BIJAY KISHORE PATRA you can watch other videos here th-cam.com/channels/4n7Ds_TOgpeWxtjLBQnPOg.html
(i*2)-1 is the line where i was stuck thanks mam.
Mam start a class for java begineers
Excellent 🔥
Superb...….its awesome....I learn this problem very very easy ……..clear all confusion regarding pattern programming...…..thanks a lot
very well explaned
Very well explained. Thank you.
Very well explained.
Thanks!
Super video clear all confusion regarding pattern programming.
thank u so much..
Thanks... watch other pattern related videos
Learn how to print * pattern questions in java Part 1 - Hindi
th-cam.com/video/keE9NNu4m10/w-d-xo.html
Learn how to print * pattern questions in java Part 2 - Hindi
th-cam.com/video/JarOdPjfSRE/w-d-xo.html
Pyramid Pattern in java (Any number of rows) - Hindi
th-cam.com/video/4zTSLfdPW_E/w-d-xo.html
Pascal Triangle Pattern - Hindi
th-cam.com/video/kJHCPz7pGIs/w-d-xo.html
thank you for the help!
Thank you so much for the clear and smooth explanation... 👌👌👌
Really appreciate the content and simple teaching technique. I even recommended to my frnds bcoz its so neat.
any plans to bring collections framework topics. Or at least algorithms on LinkedList, Hashmap etc? eagerly waiting.
Mam' You are great as well as nice experience in this level...
i hope you are new videos and other pattern are developed in this channel..
love you mam, great voice
Heloo mam.can u explain this using while loop.plz
very good explaination mam thnkyou
Apki voice bohot pyari h
superb 👌👌
now after coming in class 11 i have understand the logic of pattern
Thank u so much...
Please make video on file creation in java
Love u. Grt tutorial.
You explained very well but You explained one mathematical fact wrong that you typed : 5+1/2=3 Which is absolutely Wrong ❌
It should be: (5+1)/2=3
Otherwise,
Your work is appreciable 🙌
Thank you 😊 💓
Shortest and Smart code for diamond pattern in just 2 FOR loops..
Please note code is in c++. You can refer to logic.
Output verified.
#include
#include
#include
void main()
{
int n,row,col,flag=0;
printf("Enter Number");
scanf("%d",&n);
for(row=1; row>=1; row++)
{
for(col=1; col=row)
printf("*");
else
printf(" ");
}
printf("
");
if(row==n)
flag=1;
if(flag==1)
row = row-2;
}
}
Thanks a lot
Mam ji i have not more word to say ultimate mam ji
If possible can u make videos on TCS coding questions mostly ask ...program on mixture of fibnoci and prime no..etc
Sure, but pls allow me some time bcz my schedule is little tight and i get less time for recording ... I'll try to post videos as frequent as i can.
Fibonacci series th-cam.com/video/HjiBtjBaQxk/w-d-xo.html
Thank you madam..
बहुत बढ़िया mam
Hi mam,
You are doing well.Any one can understand Easily.mam please make the video for collections.
Sure. Please allow some time.
@@gagmansa okay Mam
Thank you
❤nice
NYC explained
Awesome
good tq mam
this logic is working with all types of patterns ???
You need to modify little bit for different pattern. It depends what pattern you need to create.
You can watch these patterns for help
th-cam.com/video/4zTSLfdPW_E/w-d-xo.html
th-cam.com/video/keE9NNu4m10/w-d-xo.html
th-cam.com/video/JarOdPjfSRE/w-d-xo.html
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
please give me logic for this types of pattern or upload videos..
This pattern is called Pascal's triangle... Just created the video after your query. here is the link... video is quite long but i tried to explain everything. pls review it.
th-cam.com/video/kJHCPz7pGIs/w-d-xo.html
Excellent
Nice
mam when i make this program i don't get correct output i get output that diamond (lower part of diamond slips one star right hand side compare to upper part of diamond) please tell me its solution
thanks
it can be done by giving if-else condition..with this we can print it with only two for loops
We have many ways to solve a problem... 👍
Aor odd ky ilawa bi input per diamond bn jata hein...?
video ke starting me hi mene explain kiyq h ki odd kyun hoti h.. app fir se video starting se dekhe...
agr apko even lines chahiye apko logic thoda sa modify krna pdega..
u r great
Mam logic bnane ka koi topic hai math mein jo usko pehle dekh ke pher hm usko implement kr ske
Agr topic hai toh naam kya hai uska
By practice only
It works perfect for Odd number but what about Even numbers if we give even number it takes one line less then given even number
I have already mentioned this in the video that it works good for odd number of lines... Please check video again
Mam Isme space ka for loop ke bad jab print karte hai to bracket me space kyu chodte hai??
Space print krwane ke liye...
printf function me bracket me jo likhoge whi print hoga.
Space diya hai to space print hoga..
.
Agar hum space nhi denge to sbi * chipak jayenge
perfect
awesome
if we printing a hollow diamond by applying the condition in this pattern its getting fail. If possible, please reply
Every pattern is different , so logics for printing different patterns are also different..
Share your code ... Let me check the changes required
@@gagmansa ok ,how i will share to you?
Info.gagmansa@gmail.com
@@gagmansa ok
thank you mam
nice
Mam lower part mein j ki value 1 denay sy 1 star km print huta hein...... us mein j = 0 ky tou thk huta hein... is mein thora confusion hein... plzz bata do
aap kon se loop ki baat kr rhe ho lower part mein?
1 se start krne par loop ek bar kam chlega
Mam even value bhi print kr rha hai
pls clear your question. aap kya puchna chahte ho
Mam jaisa aapne kaha vo code to thik chal raha but agar main ...
mid =lines +int1/2
Agar ye value main mid me put karta hu to ye even no. Ke liye bhi work kar rhaa hain but yeh no. of lines 9 print karta suppose
Maine input diya no. Of lines =5 ;
mid =lines +1/2
To ise lines to 5 print karni chahiye but ye 9 no. Of lines print kar raha hai that's confusing 😕😵🤔
apka question abhi dekha hai.. sorry for late reply.
pls share your code at gagmansa12@gmail.com
Mam Can you please teach how to code tic tac toe in java without using swings
Don't you want GUI?
vs code me ye code run nh hora hai
please tell me how can I solve this issue.
apne kon si file bnayi hai.. extension kya hai file ki?
What happens if user enters 6 then it will become 7÷2 =4.5.
So it is a bug.
Way to prevent:
If n mod 2 !=0
Then n + 1 mod 2
i already mentioned in the beginning that this works in even number of lines... you can do coding if user enters odd number....
here in this video i m explaining logic and code of diamond pattern only
Mam last no to Galat aagaya odd no n asker even aagaya 7+1/2
I want this code photo can you please send me?
*1
*1*2
*1*2*3
How will he this get done
ye program toh run hi ni hora eclispse mein what can i do now
I hv used Netbeans here... Logic is same for others..
Ek new project create krke usme class me main methode ye code likhe..
BODMAS Rule
Aur agar user ne 4 dala to phir ?
Even if i dont know her language i understand what she wants to say/explain🤣😂
#imafilipina
This is in HINDI language.
if user entered Even number then
Pls watch this video carefully. I hv explained in the beginning of this video that the number of lines should be odd.
@@gagmansa exactly but it is not possible to print even numbers in diamond pattern???
You can print, but it will not be a proper diamond shape.
@@gagmansa Thanks
hiii
How to print this pattern
1
10
101
1010
10101
Please help me out
watch this video to understand this pattern...
th-cam.com/video/keE9NNu4m10/w-d-xo.html
and take a variable with name before for loop
int s = 1;
use this variable instead of * and after print statement change its value..
if(s==1){
s=0; }
else if (s==0) {
s=1; }
i will upload video soon in few days
Mam how to print?
1
1 2
1 2 3
And
A
A B
A B C
A B C D
take one more variable and initialize it with 1.
print that variable in for loop and increment by 1...
int num=1;
for(j=0; j
This program is not executed.
You must be doing something wrong.
You can share your code at info.gagmansa@gmail.com
Did she really have to do this in Hindi!? Some of us don't understand a word of Hindi. How is this going to be useful to us?
Thanks mam
Thank u mam
Thank u
Aur agar user ne 4 dala to phir ?
Aap even and odd numbers enter krwa kr if else use kr skte hai..even number enter kiya hai to you can display a message that please enter ode number..
Even number me diamond ban jayega but not perfect diamond shape.