Computer Science, asked by naresh86guru, 5 months ago


#Program 6-18
2 to 50 using nested for loops.
=
num 2
for i in range (2, 50):
j= 2
while ( j <= (i/2)) :
if (i % j == 0):
break
#factor found
#break out of while loop
j += 1
if ( j > i/j) :
#no factor found
print (i, "is a prime number")
print ("Bye Bye!!")

explain?​


karanbiwal320: good morning to all
karanbiwal320: good morning to all
karanbiwal320: good morning to all

Answers

Answered by karanbiwal320
1

Answer:

please mark me Brainliest please ✨✨✨✨✨. I

Answered by sulekhadeb19373
0

Answer:

this is a scratch program of a maths book animation where it is showing the prime numbers which range from 2 to 50 numbers and looks like a prime number. This doesn't show any prime number defination. If you want it then comment me down.

I hope it was helpful


naresh86guru: need the explanation of the program
karanbiwal320: yes explanation is important
Similar questions