c++ question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • desireid
    New Member
    • Oct 2007
    • 1

    #1

    c++ question

    hello, I have a program to write and I'm not sure how to continue, can you help? Here is the question.

    1. Create a class test that will have the following features:-
    2. Must have a private attribute that stores an integer.
    3. A public method call store that returns no value.
    4. A public method checkprime that returns an integer
     A public method print that returns no value.

    Use the class above to create a program that will accept an indefinite number of integers and print those that are prime numbers
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    If this is a homework assignment, then please read our Posting Guidelines. Thank you.

    Comment

    Working...