Quote:
Originally Posted by rpgfan3233 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)"