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 ruclips.net/video/keE9NNu4m10/видео.html Learn how to print * pattern questions in java Part 2 - Hindi ruclips.net/video/JarOdPjfSRE/видео.html Pyramid Pattern in java (Any number of rows) - Hindi ruclips.net/video/4zTSLfdPW_E/видео.html Pascal Triangle Pattern - Hindi ruclips.net/video/kJHCPz7pGIs/видео.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 ruclips.net/video/HjiBtjBaQxk/видео.html
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 😕😵🤔
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 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
You need to modify little bit for different pattern. It depends what pattern you need to create. You can watch these patterns for help ruclips.net/video/4zTSLfdPW_E/видео.html ruclips.net/video/keE9NNu4m10/видео.html ruclips.net/video/JarOdPjfSRE/видео.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. ruclips.net/video/kJHCPz7pGIs/видео.html
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..
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
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... ruclips.net/video/keE9NNu4m10/видео.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
Thanks for the explanation. I have seen many videos but this is one clearer and easier to understand.
U explained very clearly...ur teaching style is awesome
Perfect explanations i have found today...yepeee 👌👌👌🏻🙌🏻🙌🏻
Thanks, you actually simplify how we can use logics. Thanks a lot
🙏
Superb ma'am ,, God bless you,, now I am going to subscribe your channel.. ♥️
really best understanding video
Very good explanation.
Love you ma'am. What an explanation. Your teaching skills are remarkable. I am gonna subscribe you and like your video.
very well explaned
Thanks mam..for good explanation
Thanks.... now my all doubts are clear....
Superb...….its awesome....I learn this problem very very easy ……..clear all confusion regarding pattern programming...…..thanks a lot
Now this is called an perfect explanation..................btw I am also Bansal ;)
Thank you so much for the clear and smooth explanation... 👌👌👌
Very nice. Very much understandable. Love from Bangladesh. Go ahead...
Excellent 🔥
Ur teaching is unique in the world
🙏
thanks it was very helpful and well explained
(i*2)-1 is the line where i was stuck thanks mam.
thank you for the help!
Waaaoow this explaination was superb !!
Thanks Madam... This video is very useful...
BIJAY KISHORE PATRA you can watch other videos here ruclips.net/channel/UC4n7Ds_TOgpeWxtjLBQnPOg
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
ruclips.net/video/keE9NNu4m10/видео.html
Learn how to print * pattern questions in java Part 2 - Hindi
ruclips.net/video/JarOdPjfSRE/видео.html
Pyramid Pattern in java (Any number of rows) - Hindi
ruclips.net/video/4zTSLfdPW_E/видео.html
Pascal Triangle Pattern - Hindi
ruclips.net/video/kJHCPz7pGIs/видео.html
thank you ma'am. very well explained.
Mam start a class for java begineers
Nice method of teaching. ... love from Pakistan
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
Very well explained. Thank you.
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 😊 💓
Very well explained.
Thanks!
Awesome
Thanks a lot
very good explaination mam thnkyou
Apki voice bohot pyari h
❤nice
superb 👌👌
Heloo mam.can u explain this using while loop.plz
good tq mam
Thank you
Nice
Please make video on file creation in java
NYC explained
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 ruclips.net/video/HjiBtjBaQxk/видео.html
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;
}
}
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
Excellent
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... 👍
Love u. Grt tutorial.
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 ji i have not more word to say ultimate mam ji
now after coming in class 11 i have understand the logic of pattern
Thank u so much...
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
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
thanks
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
perfect
u r great
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
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
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
ruclips.net/video/4zTSLfdPW_E/видео.html
ruclips.net/video/keE9NNu4m10/видео.html
ruclips.net/video/JarOdPjfSRE/видео.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.
ruclips.net/video/kJHCPz7pGIs/видео.html
nice
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..
Mam Can you please teach how to code tic tac toe in java without using swings
Don't you want GUI?
thank you mam
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
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 even value bhi print kr rha hai
pls clear your question. aap kya puchna chahte ho
*1
*1*2
*1*2*3
How will he this get done
I want this code photo can you please send me?
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
Mam last no to Galat aagaya odd no n asker even aagaya 7+1/2
Aur agar user ne 4 dala to phir ?
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
Even if i dont know her language i understand what she wants to say/explain🤣😂
#imafilipina
This is in HINDI language.
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?
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
hiii
How to print this pattern
1
10
101
1010
10101
Please help me out
watch this video to understand this pattern...
ruclips.net/video/keE9NNu4m10/видео.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
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.