Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Is a number Prime? - Solution | Java Foundation Course | Lecture 11
Play lesson

DSA - Level 1 - Is a number Prime? - Solution | Java Foundation Course | Lecture 11

5.0 (1)
22 learners

What you'll learn

This course includes

  • 75 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Question Name: Is a number Prime? Question Link: https://nados.io/question/is-a-number-prime 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: https://www.youtube.com/watch?v=3bCf5xSVkbo&t=56s -------------------------------------------------------------------------------------------------------------------------------------------------------------- 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 - https://nados.io/content/data-structures-and-algorithms We also provide professional courses with live classes and placement opportunities. DSA Level 1 and Level 2 https://www.youtube.com/c/Pepcoding/playlists?view=50&sort=dd&shelf_id=4 Here is a roadmap to our Free study content and know more about our resources here - https://nados.io/content/data-structures-and-algorithms We are also available on the following social media platforms: - Facebook(Meta) - https://www.facebook.com/pepcoding Instagram - https://www.instagram.com/pepcoding LinkedIn - https://www.linkedin.com/company/pepc... Pinterest - https://in.pinterest.com/Pepcoding/_c... Twitter - https://twitter.com/pepcoding Youtube (English Channel)- https://www.youtube.com/channel/UCc32cBloOW_Xh_ccJymTM8Q Also take a look at our placement assistance - https://www.pepcoding.com/placements HAPPY PROGRAMMING! Pep it up..... Hashtags #java #javafoundation #isnumberaprime

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere