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.
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 😊 💓
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
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
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.
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
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
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
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 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 😕😵🤔
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... 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
Thanks for the explanation. I have seen many videos but this is one clearer and easier to understand.
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.. ♥️
Perfect explanations i have found today...yepeee 👌👌👌🏻🙌🏻🙌🏻
U explained very clearly...ur teaching style is awesome
Thanks.... now my all doubts are clear....
thanks it was very helpful and well explained
Thanks mam..for good explanation
Now this is called an perfect explanation..................btw I am also Bansal ;)
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
🙏
Mam start a class for java begineers
(i*2)-1 is the line where i was stuck thanks mam.
very well explaned
really best understanding video
Very good explanation.
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;
}
}
Very nice. Very much understandable. Love from Bangladesh. Go ahead...
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 😊 💓
thank you for the help!
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
Superb...….its awesome....I learn this problem very very easy ……..clear all confusion regarding pattern programming...…..thanks a lot
Nice method of teaching. ... love from Pakistan
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 so much for the clear and smooth explanation... 👌👌👌
Waaaoow this explaination was superb !!
Excellent 🔥
Thanks a lot
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
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.
Very well explained. Thank you.
Heloo mam.can u explain this using while loop.plz
Apki voice bohot pyari h
Thank u mam
Very well explained.
Thanks!
Thank you madam..
Thank you
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... 👍
very good explaination mam thnkyou
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
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
Please make video on file creation in java
good tq mam
thanks
Love u. Grt tutorial.
Awesome
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
बहुत बढ़िया mam
now after coming in class 11 i have understand the logic of pattern
Thank u so much...
Mam ji i have not more word to say ultimate mam ji
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
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
❤nice
superb 👌👌
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
NYC explained
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
Nice
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
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
u r great
Excellent
Thank u
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..
perfect
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?
Mam Can you please teach how to code tic tac toe in java without using swings
Don't you want GUI?
awesome
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
nice
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?
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..
*1
*1*2
*1*2*3
How will he this get done
Aur agar user ne 4 dala to phir ?
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
BODMAS Rule
This program is not executed.
You must be doing something wrong.
You can share your code at info.gagmansa@gmail.com
Even if i dont know her language i understand what she wants to say/explain🤣😂
#imafilipina
This is in HINDI language.
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
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
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.
thank you mam