arrow_forward
همه ارسالها
جزئیات ارسال کد#966
برای پسندیدن وارد شوید
1import java.math.BigDecimal;
2import java.util.*;
3
4public class Main {
5
6 public static void main(String[] args) {
7 Scanner sc = new Scanner(System.in);
8
9 float first = (float) sc.nextInt();
10 float second = (float) sc.nextInt();
11 first*=sc.nextInt();
12 second*=sc.nextInt();
13
14 if(first<second){
15 System.out.println("Second");
16 } else if (second<first) {
17 System.out.println("First");
18 }else {
19 System.out.println("Equal");
20 }
21 }
22}
کد ارسالشده برای داوری خودکار هاتکدز
UTF-8