# Help to understand what this means

Page 1 of 1

## 1 Replies - 691 Views - Last Post: 24 November 2010 - 09:49 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'https://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=201925&amp;s=50d908a5528f602a81f124e4c1a5aaec&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 dmm83

Reputation: 0
• Posts: 1
• Joined: 24-November 10

# Help to understand what this means

Posted 24 November 2010 - 09:18 PM

If the number inputed by the user is a prime number then the program will output something similar to this

Enter An Integer: 13
Your number 13 is a prime number

If the number is a composite number then the program's output will be something like this

Enter An Integer: 24
Your number 24 is a composite number.
It's factors are 2, 3, 4 ,6, 8, 12

or even a tutorial to understand will be appreciated

This post has been edited by dmm83: 24 November 2010 - 09:20 PM

Is This A Good Question/Topic? 0

## Replies To: Help to understand what this means

Reputation: 31
• Posts: 139
• Joined: 01-October 10

## Re: Help to understand what this means

Posted 24 November 2010 - 09:49 PM

http://www.mathsisfu...ite-number.html

When a number can be divided up evenly it is a Composite Number
When a number can not be divided up evenly it is a Prime Number. Therefore, Composite Number have factors other than itself and 1. Try read about it first and see what you can get using your creative mind.