Star Printing | Shape Printing | Pyramid Printing | In Java | Part 2 | In Hindi
ฝัง
- เผยแพร่เมื่อ 11 ก.ย. 2024
- Star Printing | Shape Printing | Pyramid Printing | In Java | Part 2 | In Hindi - Tutorial#46
Hi All, Welcome all of you to the video series of Java Programming. Like C and Python, I will upload all the videos of Java from Basic to Advanced.
In this video, I have explained the concept star printing in java. This program is specially about pyramid shape printing in java. Star printing or Shape printing or Pyramid printing concept is used to sharpen your looping concepts. The shape for this program is as follows:
*****
****
***
**
*
Link to Previous Video: • Star Printing | Shape ...
Link to next video: • Star Printing | Shape ...
Facebook Group: / 21673. .
Instagram: / codeitupyt
Facebook Group: www.facebook.c...
Facebook Page: / codeitup-104310264625489
Website: codeitup.in
Join this channel to get access to perks:
/ @codeitup
Tags Used:
pyramid
pattern
star pattern
pyramid start pattern
pyramid star pattern in java
triangle
triangle start pattern
star pattern program
star pattern program in java
pyramid triangle star pattern
pyramid pattern in java
java program for pyramid pattern
triangle pattern for java
pyramid pattern program in java
star pyramid pattern in java
pyramid pattern printing in java
pyramid pattern code in java
star printing,shape printing
pyramid printing
#codeitup
#java
#pyramid
Even MSc Students are watching u...U r Next level teacher...Sir, U r going to my Inspiration in Teaching line...Respect to u Sir
Thanks a lot dear, God bless you!
Sir, mai jab 10th me gaya tha to course bohot tha aur covid ke chalte online class thi isliye online classes me kuch samajh nahi aata tha aur boards ke 3 mahine tak mujhe scanner bhi nahi pata tha. Par thanks to you sir sirf aapki wajah se mere 3rd preboard me 91/100 numbers aai...
Thank you very very much sir
That's great... Keep it up Aman, God bless you!
Your explanation is awesome sir
Logic of last question
Sout((n+1)-j);
Baki sb same hi rhega
& Thanku so much sir for this valuable free lecture series 😊
thank you .............its a perfect logic misss
Thank u soo much sir ...
Sir aapki videos bhut helping hain
Aapke teaching skills bhut aache h kabhi bore nhi hote h aur sb samajh bhi aata h
Most welcome Aisha & thanks a lot for your precious comment😊
Sir,You lectures are so easy to understand .. Iam learning programming by myself and its so easy to me to understand ,your lectures not only for college students even for those who are in self teaching or learners ,please make video for also self taught learners..if you can .. thank a lot Sir,
Sir apke Java ke video dekh ne par lag raha hai ki college me offline class le rahe hai
But
Abhi to covid-19 ke wajah se ghar par hi hai
Very thanks you sir 🙏🙏🙏🙏🙏🙏🙏🙏🙏
Thanks a ton satish for your precious comment, keep learning... God bless you!
Ur teaching style is really osmmmm sir 🙏🙏🙏
Thanks Shruti 😊
@@codeitup most welcome 🙏sir
void typefour()
{
int i,j,k=1;
for (i=5;i>=1;i--)
{
for(j=1;j
Is it compulsory to take the variable k?
@@angelsrivastava5325 yes
You deserve millions subscribers
Thanks Amaan!
Thank you sir..thank you very much ..it helped a lot
Glad to help you😊😊
Thank you so much sir you are great ❤️
Thanks & most welcome Muskan!
Nice explanation sir
Thanks!
Badhiya explanation sir keep it up👍👍👍
Thanks Bana !
Sir you said at 4.24 that initialization process has started itself. How Sir???can you please explain how you can left the initialization blank?
Sir print karenge(j+k); sir you question very helpful your all questions sufficient for interview
Knowledgeable teacher
Thanks Mihir!
we can write n greater than =2;
and print j..
fir last question??
Very good explanation sir.....☺️
Thanks😊
Great teaching
Thanks Akshay!
Thanks sir ❤️❤️😘
❤️
Sir please make video on recursion theory with program in java
Much appreciated ;)
😊
wow!
😊
k+j print willget final ouput of final question
Love u sir
😊
Sir can you please help us to make some projects ?. because i have no idea how to start making project to implement in real life ,
thanks
😊
sir kuch nhi aa rha hai kaise dimaag lagau mai sir koi pattern khud se nhi bana paunga sir
System.out.print(k+j) and k=k+1. Thanks for great video sir.
😊
Need Help -
With below logic -
int k = 1;
for(int i = 5; i >=1; i--)
{
for(int j = 1; j
K ko increment kar.
for(int i = 1;i=i;j--){
k++;
System.out.print(k);
}
System.out.println();
}
Last Question solution
for(int i = 1;i=i;j--){
k++;
System.out.print(k);
}
System.out.println();
}
Sir I am not getting the last one solution pls provide the solution with a video pls sir
its very confuntion loop sir not understand properly ..........
We print (j+1)
Solution :-
System. Out. Print(j+k) ;
Sol:-
System.out.print(j+k);
Correct ! Good Shivam !
Hi Anand 🙂🙂🙂
Hi Narendra!
for (int a =2;a
logic of last question
int n,j,k=1;
for(;n>=1;n--){
for(j=1;j
//this logic also works for it
package codeitup;
import java.util.Scanner;
public class Practice
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int n,i,j;
System.out.println("Enter a number");
n = sc.nextInt();
for(i=n; i >= 1; i--)
{
for(j=i; j >= 1; j--)
{
System.out.print(i+j); // * or i
}
System.out.println();
}
}
}
n=sc.nextInt();
for(i=2; i
hello sir
Hello!
i+j
J+k
j+k
K+J
Run the program and see whether it is working or not !
for( ;n>=1;n--)
{
for(j=1;j
S.o.p(i);
j+i
{
S.o.pl ("k+j")
}
J+k;
K++;
S.o.p(j+1);
Sop(j+1);
2 3 4 5 6
3 4 5 6
4 5 6
5 6
6
Ans = Sustem.out.print(K+j)
j+k