Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Problem 1 : New Wave Sale

Language: Layout:
+ ] Show input
Compilation time: 0.63 sec, absolute service time: 0,74 sec 
latest |  history
Error(s), warning(s):
source_file.java:34: error: cannot find symbol
            return discount = (4*1299.5)-((4*1299.5)*0.30);
                   ^
  symbol:   variable discount
  location: class Rextester
source_file.java:35: error: cannot find symbol
            return discount + (discount*0.06);
                   ^
  symbol:   variable discount
  location: class Rextester
source_file.java:35: error: cannot find symbol
            return discount + (discount*0.06);
                               ^
  symbol:   variable discount
  location: class Rextester
source_file.java:39: error: cannot find symbol
            return discount = (q*1299.5)-((q*1299.5)*0.75);
                   ^
  symbol:   variable discount
  location: class Rextester
source_file.java:40: error: cannot find symbol
            return discount + (discount*0.06);
                   ^
  symbol:   variable discount
  location: class Rextester
source_file.java:40: error: cannot find symbol
            return discount + (discount*0.06);
                               ^
  symbol:   variable discount
  location: class Rextester
6 errors

        

    
                
λ
.NET NoSQL database for rapid development