0

Logic to find prime numbees between 101 and 200 and to print them in reverse

30th Mar 2017, 5:14 AM
Satya Prakash
Satya Prakash - avatar
4 ответов
+ 9
write a method that checks if the passed number is a prime number pass every value to it by using a for loop which starts at 101 and goes to <=200 save every prime number in an array loop through every element in the array, starting at, arr.length - 1 to >= 0 and print the numbers
30th Mar 2017, 5:21 AM
Kamil
Kamil - avatar
+ 5
What a solid answer Kamil!!
30th Mar 2017, 5:26 AM
Meharban Singh
Meharban Singh - avatar
+ 1
thank you kamil
30th Mar 2017, 5:22 AM
Satya Prakash
Satya Prakash - avatar
0
can u send me the program..just the logic thanks in advance
30th Mar 2017, 5:31 AM
Satya Prakash
Satya Prakash - avatar