Thread: Help me

  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    1

    Exclamation Help me

    Plz any expert of C++ can solve this problem

    Write a programme that input a number and display that either
    the entered number is prime or not.

    The program should be included on if-else not any other like else if or loop

  2. #2
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    yes - you are right. Any expert could do it.

    But if you want to find such expert, to do your work for you - you came to the wrong site.

    You have to read the "Homework policy" before continue.
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Announcements - C++ Programming
    We're not your free homework factory.

    The first step is to do some research
    https://www.google.co.uk/search?q=pr...mber+algorithm
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4

Popular pages Recent additions subscribe to a feed