Program to Check Whether A Number is Prime or Not in Java by Deepak

preview_player
Показать описание
#java #javatutorials #deepak #smartprogramming
📞 For more details Call or What's App : +91 98887-55565

------------------------------------------------------------------------------------------

#PrimeNumber #PrimeNumberProgram #java #hindi #deepak #JavaTutorials #DeepakPanwar #OnlineTraining #OnlineClasses
Program to Check Whether A Number is Prime or Not in Java by Deepak,
How to get prime numbers in java,
How to check a given number is prime or not in Java Tutorial | Lecture,
w.a.p to check the input number is prime or not in java?
Java: Calculating Prime Numbers,
Program to Check Whether a Number is Prime or Not | TalentSprint,
Program to Check Prime Number in C (HINDI),
Java Program to Print Prime Numbers,
Write a program to print prime numbers between 1 to 100.

------------------------------------------------------------------------------------------

Follow Me On Social Media :-
Рекомендации по теме
Комментарии
Автор







▶ Core Java Chapter-wise Playlist ◀




▶Advance Java Chapter-wise Playlist ◀

SmartProgramming
Автор

Never asked to share or subscribe his videos he is always hungry to share his knowledge in as easy way he can . Love from sjs bhagalpur

BeingStraight
Автор

you can use "break" keyword after incrementing the temp so for loop will not run unnecessary.

dheereshcool
Автор

I'm now in 2nd year of my graduation And now i realise how all the concept behind the program work Thank you sir ❤️

jatinkumar
Автор

Sir u r a gift of God for us, if u would not have posted all this videos we would find java more harder than what it really is
Thank you a lot sir
U r the best teacher

anukami
Автор

THIS IS THE BEST SIR 🔥🔥🔥EVER SEEN IN MY LIFE, Not only one video but in all video the explanation of codes are made such easy that increases the will power to code. Thank u Sir❤️

amit_pawar_
Автор

Maa kasam khaa ke bol raha hoon sir aap se acha is YouTube me program koi nahi padhata bhale aap ke subscriber Kam par Mai aapke 100 badhane ka jumma leta hoo

Shivam-ucyj
Автор

Sir, u made me understand this in a few minutes as my tution teacher took hours, mean, too good

pubglover
Автор

You are a blessing in disguise for me Sir helping and keep educating ....Our good wishes and support is with you always 😊

biancamalhotra
Автор

thankyou so much sir for providing your knowledge in free of cost. your tutorials helped me alot.

venkatprasad
Автор

Sir, Your teaching methods and concept clearing is awesome

maltikumari
Автор

this is best tutorial of java on the YouTube, your teaching methods and concept clearing is awesome make videos in python language

pushpendrayadav
Автор

really helpful i was not able to understand in my class but this video help me a lot thank you so much sir

akankshapatel
Автор

We are very lucky java guy's having a support of you. Thank you very

ratanratan
Автор

You r the best sir.. This is best programming channel 👍

anantshukla
Автор

Sir you are a great teacher.I like your teaching very much 😍😍😍😍

sagnikmukherjee
Автор

Really u r real guru or saraswati...bahut khub ....aapko dekh lene se hi mera din accha jaata hai....

rahulsingh-opbu
Автор

Awesome teching ability and no-one can beat your method that you teach and clear the concept of core java

AbhishekSingh-bxgn
Автор

Kon kon ye video exam k ek din pahle dekh raha hai..

yashvisrivastava
Автор

class Primenumbers
{

public static void main(String[] args)

{

int p=6, temp=0;

for(int i=2;i<=p-1;i++)

{

if(p%i==0)

{

System.out.println("not a prime number");

break;



}

}

}

}

INSTEAD OF STORING VALUE IN TEMP, WE CAN PROVIDE BREAK STATEMENT, SO THAT IF THE GIVEN NUMBER IS DIVIDBLE BY ANY NUMBER, THEN IT STOPS THE LOOP...but the problem is by using this we cant print that the number is a prime number.

LafsGaming