Computer Science, asked by 4427, 10 months ago

it's a humble request that not to give irrelevant answers otherwise I will report it.​

Attachments:

Answers

Answered by Vyomsingh
1

Answer:

SEE MY POST AND PLS MARK ME AS BRAINLIST

❤️❤️❤️❤️

Attachments:
Answered by anindyaadhikari13
23

Here is your answer.

Question number 1.

class x

{

static void main(int a, int b)

{

if(a>b)

System.out.println("a is greater than b.");

else if(b>a)

System.out.println("b is greater than a");

else

System.out.println("Both are equal.");

}

}

Question number 2.

class y

{

static void main(int n)

{

if(n/10==n%10)

System.out.println("Palindrome.");

else

System.out.println("Not Palindrome.");

}

}

Question number 3.

class z

{

static void main(int a, int b, int c)

{

int max = Math.max(c, Math.max(a, b));

System.out.println("Largest Number: ");

}

}

Similar questions