0
Logic to find prime numbees between 101 and 200 and to print them in reverse
4 Antworten
+ 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
+ 5
What a solid answer Kamil!!
+ 1
thank you kamil
0
can u send me the program..just the logic
thanks in advance