Computer Science, asked by sonu555, 1 year ago

please help me to make the coding of any of these

Attachments:

Answers

Answered by Khushigargg
1
9.
public static void main(int N)
int c=0;

for(int i=1;i<=N; i++)
if (n%i==0)
c++;

if(c==2)
System. out. println("prime");
else
System. out. println("not prime");

sonu555: where is that option
sonu555: i can not find that option
Khushigargg: ohk lv then
Khushigargg: but the option must be above the answere or in the side where there are three dots
sonu555: will means follow
Khushigargg: what
sonu555: means do i have to press follow button
sonu555: : )
sonu555: sorry i was unable to help you
sonu555: :-(
Similar questions