You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sushant and Virat are playing a game. Virat tells 2 numbers to Sushant, who need to check whether the first is bigger than second. Implement a method boolean isBigger(int a, int b) which returns true if a is bigger than b and false otherwise.
Input Format
Two space separated integer value representing numbers given by Virat.
Constraints
Numbers will lie between 10 and 1000.
Output Format
true/false according to the value returned by the method or will print Invalid Input in case of numbers did not match the constraints.
Sample Input 0
50 40
Sample Output 0
true
Sample Input 1
50 50
Sample Output 1
false
*/
import java.io.*;
import java.util.*;
public class Solution {
static boolean isBigger(int a,int b)
{
return(a>b);
}
public static void main(String[] args) {
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */