Computer Science, asked by shaf016462, 11 months ago

write a program print two integers value check ehether first or second value is greater​

Answers

Answered by taha8201
1

Answer:

public static void main(int p,int q)

System. out.println("The numbers are "+p","+q);

if(p>q)

System.out.println(p+"is greater);

else

System.out.println (q+"is greater);

Similar questions