View Single Post
  #8 (permalink)  
Old 07-19-2007, 12:43 PM
hnkplaya hnkplaya is offline
Novice
Join Date: Jun 2007
Posts: 7
iTrader: (0)
hnkplaya is on a distinguished road
Quote:
Originally Posted by rpgfan3233 View Post
Can you explain the problem a bit more? I understand that you don't know what the problem with the code is, but what does it do that is wrong? For example, what output do you get that you shouldn't be getting? Give some sample output, like the example that you included from your instructions.
when i type in the code everything is prime. My logic to the program is incorrect i believe because any number i type in it ends up to be prime. Also if the number is not prime it should have "#inputted composite (biggest divisible number)"

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote