Computer Science, asked by Nikhil211004, 3 months ago

Here is a list of programs. If anyone knows how to solve it, plz do it.​

Attachments:

Answers

Answered by wahanevarsha8
0

Answer:

first you write class name

{

void main

{

if ( int p , int c)

system.out.println("prime number")

else

system.out.println ("composite number")

}

}

Similar questions