1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

please help me in c++

Discussion in 'C++' started by ahem, Sep 10, 2010.

  1. ahem

    ahem New Member

    Joined:
    Sep 10, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    this is the problem given to me using c++.
    please help me.
    thanks.

    -create a program that will prompt the user to enter how many random numbers are to be displayed. display the nos. in 5 columns. after displaying nos... output the smallest and largest number then get the sum. identify if the sum is ODD/EVEN. if EVEN.. identify if it is DWARF/NOT DWARF.. A no. is considered DWARF.. if the sum of its factors is greater than half of the number. if the sum is ODD.. check of it is PRIME/COMPOSITE. if the no. is COMPOSITE.. display all its factors. the program can go back to the start if the user wishes to.

    :D
     

Share This Page