Рет қаралды 107,107
Question Name:
Is a number Prime?
Question Link:
Question Statement:
1. You've to check whether a given number is prime or not.
2. Take a number "t" as input representing count of input numbers to be tested.
3. Take a number "n" as input "t" number of times.
4. For each input value of n, print "prime" if the number is prime and "not prime" otherwise.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Please consume this content on nados.io for a richer experience. It is necessary to solve the questions while watching videos, nados.io enables that.
NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. In this video, we discuss the solution of "Is a number Prime" problem. To understand the question, watch this video: • Is a number Prime? - Q...
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Pepcoding has taken the initiative to provide counselling and learning resources to all curious, skillful and dedicated Indian coders. This video is part of the series to impart industry-level web development and programming skills in the community.
For better experience and well organized free resources visit -
We also provide professional courses with live classes and placement opportunities.
DSA Level 1 and Level 2
www.youtube.co...
Here is a roadmap to our Free study content and know more about our resources here -
We are also available on the following social media platforms: -
Facebook(Meta) - / pepcoding
Instagram - / pepcoding
LinkedIn - / pepc. .
Pinterest - / _c. .
Twitter - / pepcoding
KZbin (English Channel)- / @pepcodingprogrammingi...
Also take a look at our placement assistance - www.pepcoding....
HAPPY PROGRAMMING!
Pep it up.....
Hashtags
#java #javafoundation #isnumberaprime