User: editor -- 2011-01-11 << 695 697 >> |
Hits: 3848 |
Type: Text generator |
Search all Text generator examples |
Description: |
How to generate all the prime numbers that between 100 and 200? |
Output Sample: |
101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. ctrl-h open 'replace' window 2. click 'advanced' tab, enter following in 'insert begin text' entry: 3. click 'replace', all prime numbers between 100 and 200 are generated. Note: the algrithm is verify brief, but it is not efficient for large prime numbers like 10007. For large numbers, more code is required for efficiency. |
Screenshot 1: Replace_Advanced_Window |