-
-
Save Mohanad0/b1b58a192edde81e67613e827e70ad7d to your computer and use it in GitHub Desktop.
Revisions
-
udacityandroid revised this gist
Jun 9, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ * * @return the price */ private int calculate price(int quantity { int price = quantity * 5; return price; } -
udacityandroid revised this gist
Jun 9, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ * * @return the price */ private int calculate price(int quantity) { int price = quantity * 5; return price; } -
udacityandroid created this gist
Jun 8, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ /** * Calculates the price of the order based on the current quantity. * * @return the price */ private int calculate price int quantity { int price = quantity * 5; return price; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ /** * Calculates the price of the order based on the current quantity. * * @return the price */ private calculatePrice(int quantity) int price = quantity * 5; return price; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ /** * Calculates the price of the order based on the current quantity. * * @return the price */ private int calculatePrice(int quantity) { int price = quantity * 5; return price; }