Language: Java

double a,b,c,d;
system.out.println(``enter value a``);
a=sc.nextDouble();
system.out.println(``enter value b``);
b=sc.nextDouble();
system.out.println(``enter value c``);
c=sc.nextDouble();
system.out.println(``enter value d``);
d=sc.nextDouble();
if((1>a)||(a>10000)||(1>b)||(b>10000)||(1>c)||(c>10000)||(1>d)||(d>10000)){system.out.println(``error``)
}
if((a*b-c*d)>=0){
                         system.out.println(a*b)
                          };else{
                            system.out.println(c*d)
                             };



Compiler output:
Main.java:1: error: class, interface, enum, or record expected
double a,b,c,d;
^
Main.java:2: error: class, interface, enum, or record expected
system.out.println(``enter value a``);
^
Main.java:2: error: illegal character: '`'
system.out.println(``enter value a``);
                   ^
Main.java:2: error: illegal character: '`'
system.out.println(``enter value a``);
                    ^
Main.java:2: error: illegal character: '`'
system.out.println(``enter value a``);
                                  ^
Main.java:2: error: illegal character: '`'
system.out.println(``enter value a``);
                                   ^
Main.java:3: error: class, interface, enum, or record expected
a=sc.nextDouble();
^
Main.java:4: error: class, interface, enum, or record expected
system.out.println(``enter value b``);
^
Main.java:4: error: illegal character: '`'
system.out.println(``enter value b``);
                   ^
Main.java:4: error: illegal character: '`'
system.out.println(``enter value b``);
                    ^
Main.java:4: error: illegal character: '`'
system.out.println(``enter value b``);
                                  ^
Main.java:4: error: illegal character: '`'
system.out.println(``enter value b``);
                                   ^
Main.java:5: error: class, interface, enum, or record expected
b=sc.nextDouble();
^
Main.java:6: error: class, interface, enum, or record expected
system.out.println(``enter value c``);
^
Main.java:6: error: illegal character: '`'
system.out.println(``enter value c``);
                   ^
Main.java:6: error: illegal character: '`'
system.out.println(``enter value c``);
                    ^
Main.java:6: error: illegal character: '`'
system.out.println(``enter value c``);
                                  ^
Main.java:6: error: illegal character: '`'
system.out.println(``enter value c``);
                                   ^
Main.java:7: error: class, interface, enum, or record expected
c=sc.nextDouble();
^
Main.java:8: error: class, interface, enum, or record expected
system.out.println(``enter value d``);
^
Main.java:8: error: illegal character: '`'
system.out.println(``enter value d``);
                   ^
Main.java:8: error: illegal character: '`'
system.out.println(``enter value d``);
                    ^
Main.java:8: error: illegal character: '`'
system.out.println(``enter value d``);
                                  ^
Main.java:8: error: illegal character: '`'
system.out.println(``enter value d``);
                                   ^
Main.java:9: error: class, interface, enum, or record expected
d=sc.nextDouble();
^
Main.java:10: error: class, interface, enum, or record expected
if((1>a)||(a>10000)||(1>b)||(b>10000)||(1>c)||(c>10000)||(1>d)||(d>10000)){system.out.println(``error``)
^
Main.java:10: error: illegal character: '`'
if((1>a)||(a>10000)||(1>b)||(b>10000)||(1>c)||(c>10000)||(1>d)||(d>10000)){system.out.println(``error``)
                                                                                              ^
Main.java:10: error: illegal character: '`'
if((1>a)||(a>10000)||(1>b)||(b>10000)||(1>c)||(c>10000)||(1>d)||(d>10000)){system.out.println(``error``)
                                                                                               ^
Main.java:10: error: illegal character: '`'
if((1>a)||(a>10000)||(1>b)||(b>10000)||(1>c)||(c>10000)||(1>d)||(d>10000)){system.out.println(``error``)
                                                                                                     ^
Main.java:10: error: illegal character: '`'
if((1>a)||(a>10000)||(1>b)||(b>10000)||(1>c)||(c>10000)||(1>d)||(d>10000)){system.out.println(``error``)
                                                                                                      ^
Main.java:14: error: class, interface, enum, or record expected
                          };else{
                            ^
31 errors