Write a Program in java to enter first 50 prime numbers in an array and find how many are divisible by 3 or 5
Answers
Answered by
3
Explanation:
# include<studio.h>
# include<conio.h>
void main ( )
{
int i
print f (" enter first 50 prime numbers");
scan f (" %d", &n);
temp = n/2;
{
if ( i == temp +1)
{
print f ("%d is a prime number",n);
}
getch ( );
}
Similar questions