If you are preparing for college placement then you should go with C++ Language. Many companies would not allow you to code in Python. Make sure you check the notes and extra practice questions given in the description box.
In the palindromic pattern question, for those who are facing trouble with spaces in their computer, try using double space instead of single space in the first j loop and the rest remains the same. You can try it with other patterns too if the pattern is getting distorted while using spaces.
For the pattern at 3:06 you can also do this which is more simpler #include using namespace std; int main() { int n; cout > n; int null = 0; int one = 1; for (int i = 1; i = 1; j--) { if (j % 2 == 0) { cout
The way it is thought in apna college is just amazing like the steps to proceed told by the mentor is so easy and makes tough pattern questions so easy to code . Great work form apna college 🤩🤩🤩 Loving it...
The palindrome pattern can be using 3 loops instead of 4. just use a another variable initialize it to 2 for row and print it when k < 1 for (int i = 0; i < n; i++) { int count1 = i + 1; int count2 = 2; for (int j = 0; j < n - i; j++) { printf(" "); } for (int k = 0; k < (2 * i) + 1; k++) { if (count1 >= 1) { printf(" %d ", count1); } else { printf(" %d ", count2); count2++; } count1--; } printf(" "); } we can run the loops like she did and still do this, it will still work. I just prefer it this way
From Starting, I was unable to do any pattern, now with your guidance and help I can build any pattern without see any solution. Thank you so much, TEAM #ApnaCollege.
@Soumya Banerjee I have another solution BTW your solution is great its just I cannot think like these simple ways to execute. #include using namespace std; int main(){
int n; cin>>n; for(int i=n;i>=1;i--){ int count=0; for(int j=n-i+1;j
It is my first time practicing patterns, while I was doing half pyramid after 180 ' rotation which was given in first part of pattern I was able to do the star pattern out of it and i got to know that it was mentioned in second part of video it really blew my mind thank you for making such content it really helped me.
1st inverted pattern question I did it this way: #include using namespace std; int main(){ int n; cin>>n; int count {1}; for (int coloumn {n} ; coloumn>0 ; coloumn-- ){ for(int row {1}; row
For the zig-zag problem an alternate solution could be to say that for row two all multiples of 2 are *'s and for row 1 and 3 all multiples of 4 are *'s.Thankyou.
yar this really is awesome, I am not just learning about programming, I am getting a whole new view and prespective onto number and mathematics, on matrics, on rows and columns, believe me never though these could could be this interesting.
Pattern is printing is fun job. And I have solved every one of the following patterns by myself,, but what i learnt here is what i was doing wrong all along. b4 this i used to create a matrix in my mind and relate every cell index, to its row and column, then putting specific value(e.g. , *, numbers etc) to be printed, there according to the relation, and then print the matrix. the procedure may sound somewhat simple, but believe me in complex patterns like palindrome and pyramid, finding such relations is hard, and code tends to become buggy. here i learnt to do it using step by step procedure and deducing the pattern of each value inside a pattern, keep on printing each of those patterns and lastly create a complex one, and this ones is more efficient and simple in real.
@@devendrasingh4776 asking questions doesn't mean you are... Dumb But you appear even more dumb to me instead of answering my question and helping someone you are passing judgement on others if you didn't wanted to answer you shouldn't have
another way to do the rhombus question by using only 2 loops: #include using namespace std; int main(int argc, char const *argv[]) { int raw, col, count, in_count; cin >> raw; // int count = 1; for (int i = 1; i
a different approach of the palindromic pattern - 18:55 later i realised after seeing the video that i did it in a shorter way -_-. solve by your own before seeing the answer of the question. #include using namespace std; int main() { int n, row, column; coutn; for(row=1;row
I tried the wave pattern in a different way in python, Thanks for amazing video for i in range(1,4): for j in range(1,10): if(i==j or abs(j-i)%4==0 or (i==2 and j%2==0)): print("* ",end="") else: print(" ",end="") print(" ")
But don’t it over lap bro like take fourth row , in first column u gave space ., now while printing numbers again u went upto first column in for loop to print number ….where as first column already contain a space
// A different approach for Star pattern question (18:08) inspired from Palindrome pattern question (12:38) #include using namespace std; int main() { int n; cin >> n; for (int i = 1; i
#Palindromic pattern in python... num = int(input("enter any number: ")) for i in range(1, (num + 1)): k = i for j in range(num - i): print(" ", end=" ") for j in range(i): print(k, end=" ") k -= 1 x = 2 for j in range(i-1): print(x, end=" ") x += 1 print()
another way of doing number pattern question by using 1 loop: #include using namespace std; int main(int argc, char const *argv[]) { int raw, col, count, in_count; cin >> raw; // int count = 1; for (int i = 1; i
Just wanted to tell u that I was revising the problems from the practice problems files and in one problem which was diamond pattern there is a small mistake regarding printing spaces[it should be (n-i) not ((2*n-1)/2)] Hope you will correct that. BTW thank u so much for teaching us.........
Till now I was copying the code but now for the first time I was able to code the 1-0 pattern on my own I am so happy about it I am looking forward to learning more
bro this code is wrong its because you are printing 6*s everytime and just getting the number of rows from the user but in this question the number of *s should be equal to n i.e. if n=3 then number of rows should be 3 and the number of stars also should be 3 like this. if n=3 then "***" "***" "***" not this "******" "******" "******"
mam i printed 1st invereted pattern in little other easy way :- # include using namespace std; int main () { int i,j,n; cout > n; cout =1 ; i--) { for (j=1 ; j
Hello Team, It would be really great if you put all questions (c++ placement)in one pdf along with solutions (topic wise and difficulty wise).so that students who have already covered dsa part ,and are appearing for interview in a month time..can easily get prepared with it.! Orelse it's tough to follow course when it will bw completed. It will be great for those final year student who have basic programming skills and also completed DSA,and wants to improve their problem solving skills. And want to revise through! . It is a request to you sir.! It will help a lot!! Keep it up for the good content u are providing.. i wish i had it in my 3rd year .till now i would have completed successfully.! Thanks, Regards!
at 8:04, If you want the rhombus to look like in the picture, you can use the following code: I am excluding the variables, only the loop. we take cin >> x; for ( int i = 1; i
Bhaiya sara Chapter Please Jaldi dal dijiya .. Because If We Will Get Notes and lecture after Time Will Pass , Then It Will be Of No Use for Batch of 20-21 . Please 🙏🙏🙏🙏🙏🙏🙏
@@mohammedfardeen6325 Guys for those who did not get the Palindrome, maybe the alternative code I got, help you. So check this out!! int main() { int n; coutn; int j; for(int i=1;i
in ques 23:20 if no. of row and no. of stars are both variable(i.e. both are taken input from user) then ques would be insanely difficult. If anyone can solve this problem with condition mentioned above please provide its sol. in reply.
17:34 you used very confusing code to write this we can simply add a for loop in your previous mentioned pattern(the triangle one) here is the code #include using namespace std; int main() { int n; coutn; for(int i=1; i
If you are preparing for college placement then you should go with C++ Language. Many companies would not allow you to code in Python. Make sure you check the notes and extra practice questions given in the description box.
Python will be uploaded for Class 12 Computer Science students who are preparing for Boards.
@@ApnaCollegeOfficial Will that include 11th syllabus & basics also?
Please make a DSA series for CP+Placements in C++. Please bhaiya!
Sir electro chem ka agla lecture kab aa raha h?????
@@ApnaCollegeOfficial ok bahiya
Wanted to revise Palindrome Pattern! --- Couldn't recall where it was! --- Searched both videos! --- Time Stamped Both --- Saved your time During Revisions!
Thanks Me later [LOL]
1. Inverted Pattern - [0:07]
2. 0 - 1 pattern - [3:05]
3. Rhombus Pattern - [6:46]
4. Number Pattern - [9:38]
5. Palindromic Pattern - [12:40]
6. Star Pattern - [18:05]
7. Zig-Zag Pattern - [23:18]
#include
using namespace std;
int main()
{
int n;
coutn;
for(int i=1; i
@apna college
please link this
Thanks a lot bro.👌
Difference between java and C++??
Thank you friend
I'm trying them on my own first and then watching the solutions. Thank you for this series!
How to type that OR symbol at 26:51
@@satyabratojha1335 shift+\ ,this "\" you will find below backspace
@@satyabratojha1335 You can also just write or
nobody cares
Sometimes my solution is different from what is provided in video and mine's look complex to understand at first glance.
Is it okay?
In the palindromic pattern question, for those who are facing trouble with spaces in their computer, try using double space instead of single space in the first j loop and the rest remains the same. You can try it with other patterns too if the pattern is getting distorted while using spaces.
really helpful tip
@@sougatadastinson 🤗
#include
#include
using namespace std;
int main(){
int n;
cin>>n;
for(int i=1; i
Thanks bro
@@Future27152 🤝🏻
For the pattern at 3:06 you can also do this which is more simpler
#include
using namespace std;
int main()
{
int n;
cout > n;
int null = 0;
int one = 1;
for (int i = 1; i = 1; j--)
{
if (j % 2 == 0)
{
cout
what about using a single bool datatype variable instead
This was actually a lot easier, cause fundamentals had been done and dusted in the previous video.
Sign of a good course and it is progressing well.
Ma'am ur voice and the way of teaching is really lovely😄
YA, Her Voice is amazing
Phele m java kar raha tha use chod k c++ ka y course kar raha hu ab..
@@knowledgeknights2762 😀 are java se thak sa gya tha c++ karni bhi thi aur y course aa gaya
i think she is shradha, the girl from the proinsight , cracked microsoft internship
@@swastikmishra8807 see the terminal prompt, shes urvi goel
The way it is thought in apna college is just amazing like the steps to proceed told by the mentor is so easy and makes tough pattern questions so easy to code .
Great work form apna college 🤩🤩🤩
Loving it...
sami ullah sheikh face book id
The palindrome pattern can be using 3 loops instead of 4.
just use a another variable initialize it to 2 for row and print it when k < 1
for (int i = 0; i < n; i++)
{
int count1 = i + 1;
int count2 = 2;
for (int j = 0; j < n - i; j++)
{
printf(" ");
}
for (int k = 0; k < (2 * i) + 1; k++)
{
if (count1 >= 1)
{
printf(" %d ", count1);
}
else
{
printf(" %d ", count2);
count2++;
}
count1--;
}
printf("
");
}
we can run the loops like she did and still do this, it will still work. I just prefer it this way
There is a simpler way. Like.
for(int i=1;i
@@channel-sanji yes,idk why ppl aren't doing this lol. i just did the same.
From Starting, I was unable to do any pattern, now with your guidance and help I can build any pattern without see any solution.
Thank you so much, TEAM #ApnaCollege.
Awesome teaching skills..so polite and clear..hats off ma'am
ma'am you are so sweet. thank you for your teaching . it gives a next level of confidence. god bless you❤️❤️
first question can also be done as - int main()
{
int n;
cin>>n;
for(int i=n;i>=1;i--){
for(int j=1;j
I think for the first pattern question this is a bit short solution:
int main(){
int n;
cin>>n;
for(int i=n;i>=1;i--){
for(int j=1;j
yeah i was thinking about the same thing. we could just print j and get the same output :)
@@ritwikgarg yes 🤗
@Soumya Banerjee I have another solution BTW your solution is great its just I cannot think like these simple ways to execute.
#include
using namespace std;
int main(){
int n;
cin>>n;
for(int i=n;i>=1;i--){
int count=0;
for(int j=n-i+1;j
@@soumya_495 and for rhombus we can use setw
*this is the shortest code i can think of rhombus is*
#include
#include
using namespace std;
int main()
{
int n;
cin>>n;
int count=6;
for(int i=1;i
It is my first time practicing patterns, while I was doing half pyramid after 180 ' rotation which was given in first part of pattern I was able to do the star pattern out of it and i got to know that it was mentioned in second part of video it really blew my mind thank you for making such content it really helped me.
Great!! solve the palindromic pattern without looking at the solution...Thanks aman bhiya.
1st inverted pattern question I did it this way:
#include
using namespace std;
int main(){
int n;
cin>>n;
int count {1};
for (int coloumn {n} ; coloumn>0 ; coloumn-- ){
for(int row {1}; row
Hlo bro
Did u have the easy code for hollow diamonds using star (this que. Is in pdf) if u have send me in this comment i needed bro plz
I did first one by taking row from n----1
and column from 1------- row(i)
And then print j (col)
6:25
I tried it using bool variable
#include
using namespace std;
int main(){
int n;
cout
2:46.. i wrote a different program for that and it works too.. thanks for your nice teaching 😊
me too
I didn't write j
0:02 inverted pattern
3:05 0-1 pattern
6:46 rhombus pattern
9:38 number pattern
12:29 palindromic pattern
18:06 star pattern
23:17 zig zag pattern
An alternative approach for inverted pattern:
for(int j=n; j>=1; j--)
{
for(int i=1; i
yaa done the same .... that's why scrolling comments to search related to it.
Done the same!!
Same here
Wrong code !
Bcoz you should not add the cout in side second loop ..it must applicable for 1 st loop 🤷🏿♂️
I did the palindrome question this way:
#include
using namespace std;
int main(){
int n;
coutn;
for(int i = 1;i
Thanks bro
nice bro
and thanks
I did the same 😊
yes this is easier to understand...i did the same...
I did the same bro🫱🏼🫲🏾
Bhaiya please 🙏 also do add... Brain teaser after every 4-5 lectures and companies job interview 🙋questions
abb tak khi bhi star patterns wala concept trig nhi kiya abb iss video ne bhaut kuch sikha diya gajab bhai maza aa gya yaar
For the zig-zag problem an alternate solution could be to say that for row two all multiples of 2 are *'s and for row 1 and 3 all multiples of 4 are *'s.Thankyou.
That's good one! Thank you!
yar this really is awesome, I am not just learning about programming, I am getting a whole new view and prespective onto number and mathematics, on matrics, on rows and columns, believe me never though these could could be this interesting.
we can also do 1st inverted pattern as
for(int i=n;i>=1;i--){
for(int j=1;j
For 1st program pattern just use
i=n;i>=1;i--
j=1;j
Didi at 7:54
It should be __1 to n - row no.__
You have by mistake (in animation) writtens : n to 1 - row no.
Everyone understood that
@@maulikshah28 hmmm
For 3:12 problem we can also use
#include
using namespace std;
int main() {
int r;
coutr;
for(int i=1; i
Thank u so much bhaiya for making such excellent videos for us🙏🙏. These questions are really helping me to improve my grasp on C++.
0:03 inverted pattern:
#include
using namespace std;
int main(){
int n;
coutn;
for(int i=n;i>=1;i--){
for(int j=1;j
for(int i=n;i>=1;i--){
for(int j=1;j
Pattern is printing is fun job. And I have solved every one of the following patterns by myself,, but what i learnt here is what i was doing wrong all along. b4 this i used to create a matrix in my mind and relate every cell index, to its row and column, then putting specific value(e.g. , *, numbers etc) to be printed, there according to the relation, and then print the matrix. the procedure may sound somewhat simple, but believe me in complex patterns like palindrome and pyramid, finding such relations is hard, and code tends to become buggy. here i learnt to do it using step by step procedure and deducing the pattern of each value inside a pattern, keep on printing each of those patterns and lastly create a complex one, and this ones is more efficient and simple in real.
i was so addicted to patterns that i completed them way before from the internet btw love your videos keep it up
Questions kaha se mile?
@@harshitasinha2590 wtf just google it. Idk there are still ppl with this much dumbness . Grow up grow up
@@devendrasingh4776 asking questions doesn't mean you are... Dumb
But you appear even more dumb to me instead of answering my question and helping someone you are passing judgement on others if you didn't wanted to answer you shouldn't have
@@devendrasingh4776 grow up instead of picking fight... And passing judgement..... Look at your on problems if you can't help others
@@devendrasingh4776 my purpose of asking was to get a good set of questions and to know what my peers are studying
another way to do the rhombus question by using only 2 loops:
#include
using namespace std;
int main(int argc, char const *argv[])
{
int raw, col, count, in_count;
cin >> raw;
// int count = 1;
for (int i = 1; i
This is just awesome! I am getting to learn so much and getting better every time. Thank you Apna College for this. Grateful!😊
For first pattern..a little simpler
#include
using namespace std;
int main(){
int n;
coutn;
for(int i=n; i>=0; i--){
for(int j=1; j
a different approach of the palindromic pattern - 18:55
later i realised after seeing the video that i did it in a shorter way -_-.
solve by your own before seeing the answer of the question.
#include
using namespace std;
int main() {
int n, row, column;
coutn;
for(row=1;row
Can you do it similar way in palindromic pattern for numbers?
@@rey3635 #include
using namespace std;
int main(){
int n;
cin>>n;
for(int i=1; i
we can also use following method:
int n;
cin>>n;
for (int i = n; i>=1; i--)
{
for (int j = 1; j
Thank bhiya for speaking Hindi😍
I tried the wave pattern in a different way in python, Thanks for amazing video
for i in range(1,4):
for j in range(1,10):
if(i==j or abs(j-i)%4==0 or (i==2 and j%2==0)):
print("* ",end="")
else:
print(" ",end="")
print("
")
amazing !!
For the Palindromic pattern (12:30) I made this code
#include
using namespace std;
int main()
{
int n;
coutn;
for (int i = 1; i
thanks bro
But don’t it over lap bro like take fourth row , in first column u gave space ., now while printing numbers again u went upto first column in for loop to print number ….where as first column already contain a space
In First pattern que i have done like this :
#include
using namespace std;
int main()
{
int n,i,j;
cin>>n;
for(i=n;i>=1;i--)
{
for(j=0;j
Thank you very much bhaiya for constantly posting these videos.. it is now like a class..🙏🙏
Another solution for the rhombus pattern:
for(int i=0;i
// A different approach for Star pattern question (18:08) inspired from Palindrome pattern question (12:38)
#include
using namespace std;
int main()
{
int n;
cin >> n;
for (int i = 1; i
no one cares
#Palindromic pattern in python...
num = int(input("enter any number: "))
for i in range(1, (num + 1)):
k = i
for j in range(num - i):
print(" ", end=" ")
for j in range(i):
print(k, end=" ")
k -= 1
x = 2
for j in range(i-1):
print(x, end=" ")
x += 1
print()
awesome
Heart ❤️ pattern bhi sikhao.....use impress krduga coding se😎😂
😂 Creativity level - infinite
Doraemon bnana jyada impress hogi
O bhai.
thanks for the idea......now i just need to find a girl who can compile my heart wala pattern.....xD
#include
using namespace std;
int main() {
int n, row, column, update;
char s; //symbol
coutn;
couts;
cout
another way of doing number pattern question by using 1 loop:
#include
using namespace std;
int main(int argc, char const *argv[])
{
int raw, col, count, in_count;
cin >> raw;
// int count = 1;
for (int i = 1; i
Just wanted to tell u that
I was revising the problems from the practice problems files and in one problem which was diamond pattern there is a small mistake regarding printing spaces[it should be (n-i) not ((2*n-1)/2)] Hope you will correct that.
BTW thank u so much for teaching us.........
Till now I was copying the code but now for the first time I was able to code the 1-0 pattern on my own
I am so happy about it
I am looking forward to learning more
A better way to do the rhombus pattern is :
int n;
coutn;
cout
bro this code is wrong its because you are printing 6*s everytime and just getting the number of rows from the user but in this question the number of *s should be equal to n i.e. if n=3 then number of rows should be 3 and the number of stars also should be 3 like this.
if n=3 then
"***"
"***"
"***"
not this
"******"
"******"
"******"
@@aniketsthings does'nt really matter bro.. Instead of printing 6*s use a loop there which print * upto n thats it
@@Rehan-xb7hl yeah bro
Aman bhaiya this has helped me a lot....thank you so so much for what all you are doing to provide free education ♥️♥️♥️♥️♥️♥️♥️♥️♥️🥳🥳
An alternative answer to the palindrome question -
#include
using namespace std;
int main()
{
int n;
cin>>n;
for(int i=1;i
great simplified teachings by mam
1st Question:-
#include
using namespace std;
int main()
{
int n;
cin>>n;
int count=1;
for(int i=n;i>=1;i--)
{
for(int j=1;j
Let's make his Chanel the most subscribed Chanel of India .
He is doing such a great work for us can't we do this for him
Please guy's
Salut Aman Bhai. God Bless to Aman & lady educator as well
my logic for inverted pattern
#include
using namespace std;
int main()
{
int n;
cin>>n;
int end;
end=n;
for(int i=1;i
Same here👍👍
heres mine ,simplest
#include
using namespace std;
int main(){
int n;
coutn;
for(int i=n;i>=1;i--){
for(int j=1;j
2:49 . Alternate
for(int i=n;i>=1;i--){
for(int j =1;j
Wow ... amazing efforts thankyou aman bhaiya and team🔥🔥🔥👌
Bas yahi video ka inezar tha. mazza aa gya
Didi can you do a video explaining pascal triangle question.
I didn't understand how to code it
0:09 - inverted pattern, 3:09 - 0-1 pattern, 6:46 - rhombus pattern
First problem can be alternatively solved as :
#include
using namespace std;
int main()
{
int rows;
cout
Thanks for this code
i did the same
mam i printed 1st invereted pattern in little other easy way :-
# include
using namespace std;
int main ()
{
int i,j,n;
cout > n;
cout =1 ; i--)
{
for (j=1 ; j
I liked the whole video and at the last, I liked the beat the most.
alternative approach for number pattern :
#include
using namespace std;
int main()
{
int n{0};
coutn;
for(int j=n; j>=1; j--)
{
int k=1;
for(int i=1; i=j)
{cout
i think many people are confused about the double space taken in the palindrome
1st Exercise agar samaj nahi aya tho ye bhi kar sakthe ho:
int main(){
int n;
cin>>n;
for(int i=n; i>=1 ; i--){
for(int j =1; j
Happy navratra bhaiya ...💙
Allah aapko hamesha hr kaam m tarakki de ☺️
💝 Please Ek Waar Meri Bhi Drawings Dekh Lo...😊🙏 Badi Acchi Drawings Banata Hu 😊💕....Sirf Apke Liye..😟
9:24 I did this question in a different way:
#include
using namespace std;
int main(){
int row,i,j;
coutrow;
for(i=row;i>=1;i--){
for(j=1;j
Chintu n faltu m paise diye
true af🤣
It's a scam white hat jr !!
😂
Alternate Solution for Rhombus Pattern(using if-else):
int n;
coutn;
for(int i=1;i
Hello Team,
It would be really great if you put all questions (c++ placement)in one pdf along with solutions (topic wise and difficulty wise).so that students who have already covered dsa part ,and are appearing for interview in a month time..can easily get prepared with it.! Orelse it's tough to follow course when it will bw completed.
It will be great for those final year student who have basic programming skills and also completed DSA,and wants to improve their problem solving skills. And want to revise through! .
It is a request to you sir.!
It will help a lot!! Keep it up for the good content u are providing.. i wish i had it in my 3rd year .till now i would have completed successfully.!
Thanks,
Regards!
Sahi baat hai!!
It would increase their efforts by 10 times. It would be better if one of the students or a group of students would take the initiative
at 8:04, If you want the rhombus to look like in the picture, you can use the following code:
I am excluding the variables, only the loop. we take cin >> x;
for ( int i = 1; i
Can't we just cout>>'* ';
i have done all questions without seeing any answer🥰
Yar tum to bde heavy driver ho
How to type that OR symbol at 26:51
@@satyabratojha1335 using shift and /
alternative method for palindromic pattern:-
int n;
cin>>n;
for (int i = 1; i
Bhaiya sara Chapter Please Jaldi dal dijiya ..
Because If We Will Get Notes and lecture after Time Will Pass , Then It Will be Of No Use for Batch of 20-21 .
Please 🙏🙏🙏🙏🙏🙏🙏
🙏🏻🙏🏻
💝 Please Ek Waar Meri Bhi Drawings Dekh Lo...😊🙏 Badi Acchi Drawings Banata Hu 😊💕....Sirf Apke Liye..😟
@@TheCraftyBoy yes bro, sach me kafi achi drawing h apki, keep going
Palindome alternate approach:
int main()
{
int n = 5;
string s = "1";
for (int i = 1; i
my logic for palindrome:
#include
using namespace std;
int main() {
int i,j,n,k;
coutn;
cout
No... Other pattern getting printed
The first pattern example in this video
the output is coming with this code also
"for(int i=n; i>=1; i--){
for(int j=1; j
Palindrome was bit confusing but I think you could have explained it in more detail. But anyways I will learn it somehow ...thanks for the videos..
Same....i didnt even undwrstand....if you find any way of understand it pls do share....
@@mohammedfardeen6325 Guys for those who did not get the Palindrome, maybe the alternative code I got, help you. So check this out!!
int main()
{
int n;
coutn;
int j;
for(int i=1;i
Can u explain dusre variable k ko lene ki need kyu pdi jab j se hi solve ho jaega ?? I m confused now🥲
For star pattern just do pallendrome pattern and instead of cout no. Just cout * we will get star pattern
Last moment tune is😍.after watching video.
Very first question of advanced problems can be easily solved by
For(int i=n;i>=1;i--){
For(int j=1;j
Rooz ki trha aaj bhi like ker ne aaya hu....
Kabhi pdhne bhi aa jaya kr fir
@@gauravkataria4336 Bete moz krdi 😂
I am ISC board student, it helps even in my computer syllabus(JAVA) because the logic is same,,,
Thank you to the Team Apni kaksha,,,,,
is Java similar to C++?
@@suyashrahatekar4964 almost similar,,,,It like Sanskrit and Hindi,,,,,,
in ques 23:20 if no. of row and no. of stars are both variable(i.e. both are taken input from user) then ques would be insanely difficult. If anyone can solve this problem with condition mentioned above please provide its sol. in reply.
palindrome can be done by this way also using 1 lesser loop
void palinpattern(int n)
{
for(int i=1, temp= i; i
great
Great course Aman bhaiyya and his entire team👏👏 btw her voice is so cute...😉😉
Didi ka voice is supersonic! So fast!
Freelancing sikha do 🙏
microsoft wala apu best.love from bangladesh!
Sir when will you upload class 11 and JEE videos. Im in great need of it. Please try upload as soon as possible
I'm solve #paliadrome pattern with an another method
For(int i= 1;i
17:34
you used very confusing code to write this
we can simply add a for loop in your previous mentioned pattern(the triangle one)
here is the code
#include
using namespace std;
int main()
{
int n;
coutn;
for(int i=1; i
this is a wrong code
Thanks Bhaiya
bro thanks yrrr dimaag ka dahi ho gya tha 😅
i thought the same code
15:27 if any one confused at this point
#include
using namespace std;
int main()
{
int i,j,n=5,count=0;
for(i=1;i