Jump to content

[C++] Verificare numar prim


Krusher
 Share

Recommended Posts

4dc ai pune topicu sa mearga doar la mesaje ptr aceasta mica chestie.. 

ptr ceilalti. 

faci un for de la 2 la sqrt de nr si incepi sa imparti nr%2 3 4 5..

daca se imparte e nonprim daca nu e prim

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 7 months later...
  • 1 year later...
  • 1 month later...
  • 5 months later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...