there’s a problem that i couldn’t discover in the following code [duplicate]

here’s a code for giving a person’s salary after adding a commission depending on the amount of sales
as you can see it’s a Java language code
when i tried it it said W might not have been initialized
i don’t know what’s wrong so please he…