Question: Write a Java assignment statement to calculate a 35% discount on an items value stored in the variable newItem, store the discount amount in a
Write a Java assignment statement to calculate a 35% discount on an items value stored in the variable newItem, store the discount amount in a variable called discount. Then calculate the new price for the item subtracting off the discount, storing the new price in a variable called newItemPrice. You should have two assignment statements.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
