write a program print two integers value check ehether first or second value is greater
Answers
Answered by
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