Computer Science, asked by gsfsdgthgfd, 1 year ago

write a java program to print all the prime numbers between 1 and 100.

Answers

Answered by Shrieya
4
Using this logic u can find prime no b/w 1 to 100.
Attachments:

gsfsdgthgfd: thanks
gsfsdgthgfd: i want to show all the prime numbers between 1 and 100
gsfsdgthgfd: its wrong
Shrieya: I have just told u the logic.
Shrieya: Write i<=100
Similar questions