This file contains 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 characters
# module calculate_store_discount() is where I am having issues. I also tried linking original_price() | |
# to calculate_store_discount() so I wouldn't have to have the user re-enter. The in_store_discount() | |
# and calculate_store_discount() are going to be 'duplicated' with variables relating to the | |
# coupon inputs and calculation ( calculate_coupon(), coupon_discount() ). Another module is going to | |
# be created to calculate the final price after I figure out what my hang up is with the math. | |
# Okay, so this is your `main` function. There's nothing special about it being | |
# called `main`, it's just done that way by convention since the beginning of | |
# time. It is your main "driver" for the program as a whole, which you can | |
# usually just assume, but you can be sure of it by seeing that at the bottom |
This file contains 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 characters
class Foo { | |
public static void main(String args[]) { | |
System.out.println("Hello world!"); | |
} | |
} |