Commit d70e7b9d authored by Amirhosein Rajabpour's avatar Amirhosein Rajabpour

second commit

parent b0dd723a
Pipeline #411 failed with stages
...@@ -33,6 +33,7 @@ public class Order { ...@@ -33,6 +33,7 @@ public class Order {
} }
for (int i = 0; i < amount; i++) { for (int i = 0; i < amount; i++) {
temp[foods.length + i] = food; temp[foods.length + i] = food;
price += (temp[foods.length + i].getPrice() )* 1.4;
} }
foods = temp; foods = temp;
temp = null; temp = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment