Pattern Programs Tutorial: Part 20 - Reverse pyramid and right-angled triangle

  Рет қаралды 47,815

Programmer ONE - Sumit Tiwari - SoftEthics

Programmer ONE - Sumit Tiwari - SoftEthics

Күн бұрын

Пікірлер: 63
@jangidshweta495
@jangidshweta495 3 жыл бұрын
Sir, no one can teach you better .. I understand everything. You are the best ser in the world..you must be millions of subscribers!
@programmer_one
@programmer_one 3 жыл бұрын
Thank you so much 😀
@ArtByNimsha
@ArtByNimsha 11 ай бұрын
me too
@kavachtales9252
@kavachtales9252 5 жыл бұрын
Sir thank you so so so much for making it so easy to understand .
@shekharpaliwal1781
@shekharpaliwal1781 11 ай бұрын
Sumit Sir... I Am Requested That Make A Complete Playlist On Factorial Of Any Given Number By User Input, Palindrome Number, Even Or Odd Number, Fibonacci Series And A Leap year Logical Programming In PHP🙏
@programmer_one
@programmer_one 11 ай бұрын
Sure, will do soon.
@bhavyar4032
@bhavyar4032 4 жыл бұрын
Sir thank u so much fr this kind of videos .sir so many pepole to life useful this kind of vedios, and increase our logic skills also!!!
@programmer_one
@programmer_one 4 жыл бұрын
Thanks and welcome
@bhavyar4032
@bhavyar4032 4 жыл бұрын
@@programmer_one sir one request Sir full vedios u speak English sir ! So understanding very well so many people dont understand in between hindi
@Hannu337
@Hannu337 2 жыл бұрын
I have a doubt in this pattern In above pattern * is printing first so we have to take print inner loop first ryt...then we have to take space loop...but u took differently...plz clarify me
@programmer_one
@programmer_one 2 жыл бұрын
Hi, In the original pattern we need to print space first that's why space loop comes first and in the reverse pattern, we need to start printing with the asterisk, that's why print loop comes first. Still if you have any query feel free to share with me
@Hannu337
@Hannu337 2 жыл бұрын
Tq...
@Hannu337
@Hannu337 2 жыл бұрын
Nd i am trying to understand this pattern since two days...i got stuck at space loop i am not understanding this( j>=i )in this pattern J>=i means for first time it will be ( 4>=5 ) so false space will not print for 1st row. But for 2 nd space run it will become (3>=5) which is false so how 1st space is printing.... could please clarify me...
@programmer_one
@programmer_one 2 жыл бұрын
Value of 'i' is decremented after every run. n = 5; space loop execution 1st time: j = n-1 i.e., j = 4; and i = 5 so, loop will not run. 2nd time: j = n-1 i.e., j = 4, and i = 4 (due to decrement in the value of i), so loop will run one time. 3rd time: j = n-1, i.e., j = 4 and i = 3 , so loop will run two times.
@Hannu337
@Hannu337 2 жыл бұрын
@@programmer_one tqs a lot....ur a good teacher all i can say...tq for ur time to solve my problem...☺️☺️
@sakshiwahi2025
@sakshiwahi2025 4 жыл бұрын
This code produces a runtime error. How to deal with it?
@programmer_one
@programmer_one 4 жыл бұрын
Check the logic implementation, or send me your code.
@aabedakhan3638
@aabedakhan3638 4 жыл бұрын
Sir row ki value Q decrease ho ri h
@mahbubaleeza5335
@mahbubaleeza5335 4 жыл бұрын
sir, i ran the code in this way below.But in the result there is an extra space before the whole astrics .how can i solve this? #include int main() { int i,s,h,n; scanf("%d",&n); for(i=1;i
@programmer_one
@programmer_one 4 жыл бұрын
Hi, Just change 's
@ramjigupta6004
@ramjigupta6004 4 жыл бұрын
What is the work of %d? sir...
@programmer_one
@programmer_one 4 жыл бұрын
%d is a format specifier. The format-specifiers are used to specify the format of the data which we can take as input or shows as output. For example: %d >> Integer %c >> Character %f >> Float For more info : "Patch Up with C": Get it on Google Play : bit.ly/patchupwithc
@trt.shorts_71
@trt.shorts_71 3 жыл бұрын
J q nhi print karaye
@programmer_one
@programmer_one 3 жыл бұрын
Hi, because j humne space ko print karane ke liye kiya hai.
@Nikita-eo2nn
@Nikita-eo2nn 4 жыл бұрын
sir can you please help with this pattern COMPUTER OMPUTER MPUTER PUTER UTER TER ER R
@programmer_one
@programmer_one 4 жыл бұрын
Hi Nikita, there are plenty of ways to do that, we may use 3 loops (space loop) logic or if-else logic to get the desired pattern. Here is the code to do it via if-else logic. codingdots.in/string-print-pattern-program/
@Nikita-eo2nn
@Nikita-eo2nn 4 жыл бұрын
@@programmer_one ok.. thank you sir.
@programmer_one
@programmer_one 4 жыл бұрын
Most welcome :-)
@sanmatipol3201
@sanmatipol3201 3 жыл бұрын
Thank you ! Sir this video helped me a lot understanding star patterns😇🙏🏼🙏🏼
@programmer_one
@programmer_one 3 жыл бұрын
Most welcome 😊
@sanmatipol3201
@sanmatipol3201 3 жыл бұрын
@@programmer_one sir,I tried program to run on ide but it gives garbage value.
@programmer_one
@programmer_one 3 жыл бұрын
Hi Sanmati, share your tried code with me at appquery@softethics.com
@sanmatipol3201
@sanmatipol3201 3 жыл бұрын
@@programmer_one Thanks sir ,that was my fault in declaring loop now code runs and gives expeted output.
@programmer_one
@programmer_one 3 жыл бұрын
That's great. If you ever have any query, feel free to share with me, we will sort it out together.
@kunjpatel2728
@kunjpatel2728 Жыл бұрын
superb
@rahulranjan-cj2ii
@rahulranjan-cj2ii 5 жыл бұрын
How to print this 2 pattern :- 1) 11111 2222 333 44 5 2) 54321 5432 543 54 1
@programmer_one
@programmer_one 5 жыл бұрын
Hi Rahul, Just by changing the way of running the loops do the job: Pattern 1: #include int main() { int n=5; // size int i,j,k; for(i=1;i
@rahulranjan-cj2ii
@rahulranjan-cj2ii 5 жыл бұрын
@@programmer_one Sir 1st question may hum samj nhi pa rhi ha ki space loop kasay work kar rha ha. ============================ Or aap vari kar ka jo batha thi ha "row, column and space " usko hum kasay continue kari har or alag - alag pattern program ka liya
@rahulranjan-cj2ii
@rahulranjan-cj2ii 5 жыл бұрын
@@programmer_one ya 1st and 2nd program may space loop 4 kyu nhi start ho rha ha ???
@programmer_one
@programmer_one 5 жыл бұрын
Because, ye pattern ulta hai, isliye firstly space nahi chahiye, then 1 space , then 2, then 3 and so on.
@rahulranjan-cj2ii
@rahulranjan-cj2ii 5 жыл бұрын
I don't understand what you are saying ?
@aabedakhan3638
@aabedakhan3638 4 жыл бұрын
Sir koi esi app ni jo offline p video chle
@techie607
@techie607 3 жыл бұрын
Thanks man 👌
@programmer_one
@programmer_one 3 жыл бұрын
Happy to help
@muhammadshakeel11272
@muhammadshakeel11272 3 жыл бұрын
thanks sir 😍
@programmer_one
@programmer_one 3 жыл бұрын
Most welcome
@arunreddybaddam
@arunreddybaddam 3 жыл бұрын
1 2 3 4 5 6 7 8 9 10 how to print this pattern sir in python
@programmer_one
@programmer_one 3 жыл бұрын
Hi Arun, Refer to pattern no. 123 in the app and print(x) instead of (x-i).
@rajeshsinghyadav5607
@rajeshsinghyadav5607 4 жыл бұрын
Make best understand
@pranaypandu9268
@pranaypandu9268 4 жыл бұрын
Sir number
@sani4797
@sani4797 5 жыл бұрын
11111 2222 333 44 5 Sir how can I print the above statement.. Pls elobarate.
@programmer_one
@programmer_one 5 жыл бұрын
Hi Sani, Just change the way of running the loops do the job. #include int main() { int n=5; // size int i,j,k; for(i=1;i
@tahneessheraz759
@tahneessheraz759 4 жыл бұрын
@@programmer_one Excuse me sir..ap ny to kha tha k space hmesha row sy aik num kam ho gi .... so why we not use this thing in this program ..plzz explain me i m confused
@programmer_one
@programmer_one 4 жыл бұрын
Hi Tahnees, This is so because it is a reverse pattern.
@beliefyourselffirstsudha8957
@beliefyourselffirstsudha8957 5 жыл бұрын
Very nice 😂
@AbhishekYadav-ij5yc
@AbhishekYadav-ij5yc 5 жыл бұрын
bot tyttt sirrr
Pattern Programs Tutorial: Part 21 - Pyramid pattern and triangle another logic (if-else)
16:27
Programmer ONE - Sumit Tiwari - SoftEthics
Рет қаралды 31 М.
Pattern Programs Tutorial: Part 19 - Pyramid pattern and right-angled triangle
13:17
Programmer ONE - Sumit Tiwari - SoftEthics
Рет қаралды 34 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
How to solve any Star Pattern Program
18:47
Simply Coding
Рет қаралды 1,2 МЛН
A New Era for C and C++? Goodbye, Rust?
9:08
Travis Media
Рет қаралды 118 М.
Making My Own Programming Language and Coding a Game in It
10:19
AstroSam
Рет қаралды 1,3 МЛН
Pyramid pattern and inverse right-angled triangle - Pattern Programs Tutorial: Part 18
21:03
Programmer ONE - Sumit Tiwari - SoftEthics
Рет қаралды 173 М.
Всё об указателях в C++ за 20 минут
20:00
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2,3 МЛН
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,8 МЛН
Replace Is Number Saves 440GB A WEEK
9:54
ThePrimeagenClips
Рет қаралды 343 М.
Special Programs in C − Pyramid of Stars
11:06
Neso Academy
Рет қаралды 899 М.