Computer Science, asked by anushkaaryan17p4ak4b, 1 year ago

please write the program using functions( Oops ) . please do it clearly.. do not use c or c++

Attachments:

Answers

Answered by karan4481
0
please write it properly we cannot understand dost .talk me in personal I will say you my study friend
Answered by Rohandaman
1
class minimum
{
public static void main ( int pri,int com)
{
boolean =new true (pri);
system. out. println("number is composite ="+com);
{
system. out. println("number is prime ="+pri);
}
}
}

anushkaaryan17p4ak4b: just say this
Rohandaman: isme formula laga hai
Rohandaman: by adding a formula
Rohandaman: please wait let me tell you that formula
anushkaaryan17p4ak4b: toh wo formula batao jisse mei prime ko composite mei change kar skoo
Rohandaman: shayad
Rohandaman: Yeh hoga
Rohandaman: Math.sqrt (no.)
Rohandaman: nahi sorry ye nahi hoga
Rohandaman: mujhe thoda aur time dejiye
Similar questions