really? ok
Muffler.java:48: error: cannot find symbol
switch(price) {
^
symbol: variable price
location: class Muffler
Muffler.java:50: error: cannot find symbol
case(A): cost = priceCost * 1.00;
^
symbol: variable A
location: class Muffler
Muffler.java:50: error: illegal start of type
case(A): cost = priceCost * 1.00;
^
Muffler.java:52: error: cannot find symbol
case(A3): cost = priceCost * 41.95;
^
symbol: variable A3
location: class Muffler
Muffler.java:52: error: illegal start of type
case(A3): cost = priceCost * 41.95;
^
Muffler.java:54: error: cannot find symbol
case(B): cost = priceCost * 1.07;
^
symbol: variable B
location: class Muffler
Muffler.java:54: error: illegal start of type
case(B): cost = priceCost * 1.07;
^
Muffler.java:56: error: cannot find symbol
case(B3): cost = priceCost * 44.89;
^
symbol: variable B3
location: class Muffler
Muffler.java:56: error: illegal start of type
case(B3): cost = priceCost * 44.89;
^
Muffler.java:58: error: cannot find symbol
case(BL): cost = priceCost * 48.10;
^
symbol: variable BL
location: class Muffler
Muffler.java:58: error: illegal start of type
case(BL): cost = priceCost * 48.10;
^
Muffler.java:60: error: cannot find symbol
case(C): cost = priceCost * 1.15;
^
symbol: variable C
location: class Muffler
Muffler.java:60: error: illegal start of type
case(C): cost = priceCost * 1.15;
^
Muffler.java:62: error: cannot find symbol
case(C3): cost = priceCost * 48.24;
^
symbol: variable C3
location: class Muffler
Muffler.java:62: error: illegal start of type
case(C3): cost = priceCost * 48.24;
^
Muffler.java:64: error: cannot find symbol
case(CL): cost = priceCost * 51.69;
^
symbol: variable CL
location: class Muffler
Muffler.java:64: error: illegal start of type
case(CL): cost = priceCost * 51.69;
^
Muffler.java:66: error: cannot find symbol
case(D): cost = priceCost * 1.22;
^
symbol: variable D
location: class Muffler
Muffler.java:66: error: illegal start of type
case(D): cost = priceCost * 1.22;
^
Muffler.java:68: error: cannot find symbol
case(D3): cost = priceCost * 51.18;
^
symbol: variable D3
location: class Muffler
Muffler.java:68: error: illegal start of type
case(D3): cost = priceCost * 51.18;
^
Muffler.java:70: error: cannot find symbol
case(DL): cost = priceCost * 54.84;
^
symbol: variable DL
location: class Muffler
Muffler.java:70: error: illegal start of type
case(DL): cost = priceCost * 54.84;
^
Muffler.java:72: error: cannot find symbol
case(E): cost = priceCost * 1.38;
^
symbol: variable E
location: class Muffler
Muffler.java:72: error: illegal start of type
case(E): cost = priceCost * 1.38;
^
Muffler.java:74: error: cannot find symbol
case(E3): cost = priceCost * 57.89;
^
symbol: variable E3
location: class Muffler
Muffler.java:74: error: illegal start of type
case(E3): cost = priceCost * 57.89;
^
Muffler.java:76: error: cannot find symbol
case(EL): cost = priceCost * 62.03;
^
symbol: variable EL
location: class Muffler
Muffler.java:76: error: illegal start of type
case(EL): cost = priceCost * 62.03;
^
Muffler.java:78: error: cannot find symbol
case(F3): cost = priceCost * 62.92;
^
symbol: variable F3
location: class Muffler
Muffler.java:78: error: illegal start of type
case(F3): cost = priceCost * 62.92;
^
Muffler.java:80: error: cannot find symbol
case(FL): cost = priceCost * 67.42;
^
symbol: variable FL
location: class Muffler
Muffler.java:80: error: illegal start of type
case(FL): cost = priceCost * 67.42;
^
Muffler.java:83: error: cannot find symbol
if(priceCode.length(x>1))
^
symbol: variable x
location: class Muffler
Muffler.java:86: error: array required, but String found
if(priceCode [1] == ("3"))
^
Muffler.java:90: error: array required, but String found
else if(priceCode [1]==("L"))
^
36 errors
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete
I don't get why i have 36 errors now. I had 1 error before.
--- Update ---
really? ok
Muffler.java:48: error: cannot find symbol
switch(price) {
^
symbol: variable price
location: class Muffler
Muffler.java:50: error: cannot find symbol
case(A): cost = priceCost * 1.00;
^
symbol: variable A
location: class Muffler
Muffler.java:50: error: illegal start of type
case(A): cost = priceCost * 1.00;
^
Muffler.java:52: error: cannot find symbol
case(A3): cost = priceCost * 41.95;
^
symbol: variable A3
location: class Muffler
Muffler.java:52: error: illegal start of type
case(A3): cost = priceCost * 41.95;
^
Muffler.java:54: error: cannot find symbol
case(B): cost = priceCost * 1.07;
^
symbol: variable B
location: class Muffler
Muffler.java:54: error: illegal start of type
case(B): cost = priceCost * 1.07;
^
Muffler.java:56: error: cannot find symbol
case(B3): cost = priceCost * 44.89;
^
symbol: variable B3
location: class Muffler
Muffler.java:56: error: illegal start of type
case(B3): cost = priceCost * 44.89;
^
Muffler.java:58: error: cannot find symbol
case(BL): cost = priceCost * 48.10;
^
symbol: variable BL
location: class Muffler
Muffler.java:58: error: illegal start of type
case(BL): cost = priceCost * 48.10;
^
Muffler.java:60: error: cannot find symbol
case(C): cost = priceCost * 1.15;
^
symbol: variable C
location: class Muffler
Muffler.java:60: error: illegal start of type
case(C): cost = priceCost * 1.15;
^
Muffler.java:62: error: cannot find symbol
case(C3): cost = priceCost * 48.24;
^
symbol: variable C3
location: class Muffler
Muffler.java:62: error: illegal start of type
case(C3): cost = priceCost * 48.24;
^
Muffler.java:64: error: cannot find symbol
case(CL): cost = priceCost * 51.69;
^
symbol: variable CL
location: class Muffler
Muffler.java:64: error: illegal start of type
case(CL): cost = priceCost * 51.69;
^
Muffler.java:66: error: cannot find symbol
case(D): cost = priceCost * 1.22;
^
symbol: variable D
location: class Muffler
Muffler.java:66: error: illegal start of type
case(D): cost = priceCost * 1.22;
^
Muffler.java:68: error: cannot find symbol
case(D3): cost = priceCost * 51.18;
^
symbol: variable D3
location: class Muffler
Muffler.java:68: error: illegal start of type
case(D3): cost = priceCost * 51.18;
^
Muffler.java:70: error: cannot find symbol
case(DL): cost = priceCost * 54.84;
^
symbol: variable DL
location: class Muffler
Muffler.java:70: error: illegal start of type
case(DL): cost = priceCost * 54.84;
^
Muffler.java:72: error: cannot find symbol
case(E): cost = priceCost * 1.38;
^
symbol: variable E
location: class Muffler
Muffler.java:72: error: illegal start of type
case(E): cost = priceCost * 1.38;
^
Muffler.java:74: error: cannot find symbol
case(E3): cost = priceCost * 57.89;
^
symbol: variable E3
location: class Muffler
Muffler.java:74: error: illegal start of type
case(E3): cost = priceCost * 57.89;
^
Muffler.java:76: error: cannot find symbol
case(EL): cost = priceCost * 62.03;
^
symbol: variable EL
location: class Muffler
Muffler.java:76: error: illegal start of type
case(EL): cost = priceCost * 62.03;
^
Muffler.java:78: error: cannot find symbol
case(F3): cost = priceCost * 62.92;
^
symbol: variable F3
location: class Muffler
Muffler.java:78: error: illegal start of type
case(F3): cost = priceCost * 62.92;
^
Muffler.java:80: error: cannot find symbol
case(FL): cost = priceCost * 67.42;
^
symbol: variable FL
location: class Muffler
Muffler.java:80: error: illegal start of type
case(FL): cost = priceCost * 67.42;
^
Muffler.java:83: error: cannot find symbol
if(priceCode.length(x>1))
^
symbol: variable x
location: class Muffler
Muffler.java:86: error: array required, but String found
if(priceCode [1] == ("3"))
^
Muffler.java:90: error: array required, but String found
else if(priceCode [1]==("L"))
^
36 errors
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete
I don't get why i have 36 errors now. I had 1 error before.
--- Update ---
really? ok
Muffler.java:48: error: cannot find symbol
switch(price) {
^
symbol: variable price
location: class Muffler
Muffler.java:50: error: cannot find symbol
case(A): cost = priceCost * 1.00;
^
symbol: variable A
location: class Muffler
Muffler.java:50: error: illegal start of type
case(A): cost = priceCost * 1.00;
^
Muffler.java:52: error: cannot find symbol
case(A3): cost = priceCost * 41.95;
^
symbol: variable A3
location: class Muffler
Muffler.java:52: error: illegal start of type
case(A3): cost = priceCost * 41.95;
^
Muffler.java:54: error: cannot find symbol
case(B): cost = priceCost * 1.07;
^
symbol: variable B
location: class Muffler
Muffler.java:54: error: illegal start of type
case(B): cost = priceCost * 1.07;
^
Muffler.java:56: error: cannot find symbol
case(B3): cost = priceCost * 44.89;
^
symbol: variable B3
location: class Muffler
Muffler.java:56: error: illegal start of type
case(B3): cost = priceCost * 44.89;
^
Muffler.java:58: error: cannot find symbol
case(BL): cost = priceCost * 48.10;
^
symbol: variable BL
location: class Muffler
Muffler.java:58: error: illegal start of type
case(BL): cost = priceCost * 48.10;
^
Muffler.java:60: error: cannot find symbol
case(C): cost = priceCost * 1.15;
^
symbol: variable C
location: class Muffler
Muffler.java:60: error: illegal start of type
case(C): cost = priceCost * 1.15;
^
Muffler.java:62: error: cannot find symbol
case(C3): cost = priceCost * 48.24;
^
symbol: variable C3
location: class Muffler
Muffler.java:62: error: illegal start of type
case(C3): cost = priceCost * 48.24;
^
Muffler.java:64: error: cannot find symbol
case(CL): cost = priceCost * 51.69;
^
symbol: variable CL
location: class Muffler
Muffler.java:64: error: illegal start of type
case(CL): cost = priceCost * 51.69;
^
Muffler.java:66: error: cannot find symbol
case(D): cost = priceCost * 1.22;
^
symbol: variable D
location: class Muffler
Muffler.java:66: error: illegal start of type
case(D): cost = priceCost * 1.22;
^
Muffler.java:68: error: cannot find symbol
case(D3): cost = priceCost * 51.18;
^
symbol: variable D3
location: class Muffler
Muffler.java:68: error: illegal start of type
case(D3): cost = priceCost * 51.18;
^
Muffler.java:70: error: cannot find symbol
case(DL): cost = priceCost * 54.84;
^
symbol: variable DL
location: class Muffler
Muffler.java:70: error: illegal start of type
case(DL): cost = priceCost * 54.84;
^
Muffler.java:72: error: cannot find symbol
case(E): cost = priceCost * 1.38;
^
symbol: variable E
location: class Muffler
Muffler.java:72: error: illegal start of type
case(E): cost = priceCost * 1.38;
^
Muffler.java:74: error: cannot find symbol
case(E3): cost = priceCost * 57.89;
^
symbol: variable E3
location: class Muffler
Muffler.java:74: error: illegal start of type
case(E3): cost = priceCost * 57.89;
^
Muffler.java:76: error: cannot find symbol
case(EL): cost = priceCost * 62.03;
^
symbol: variable EL
location: class Muffler
Muffler.java:76: error: illegal start of type
case(EL): cost = priceCost * 62.03;
^
Muffler.java:78: error: cannot find symbol
case(F3): cost = priceCost * 62.92;
^
symbol: variable F3
location: class Muffler
Muffler.java:78: error: illegal start of type
case(F3): cost = priceCost * 62.92;
^
Muffler.java:80: error: cannot find symbol
case(FL): cost = priceCost * 67.42;
^
symbol: variable FL
location: class Muffler
Muffler.java:80: error: illegal start of type
case(FL): cost = priceCost * 67.42;
^
Muffler.java:83: error: cannot find symbol
if(priceCode.length(x>1))
^
symbol: variable x
location: class Muffler
Muffler.java:86: error: array required, but String found
if(priceCode [1] == ("3"))
^
Muffler.java:90: error: array required, but String found
else if(priceCode [1]==("L"))
^
36 errors
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete
I don't get why i have 36 errors now. I had 1 error before.