Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

05 05b #62

Open
wants to merge 9 commits into
base: 05_05b
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file modified out/production/learning-java-2825378/Main.class
Binary file not shown.
9 changes: 0 additions & 9 deletions src/Main.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
public class Main {

public static void calculateTotalMealPrice(double listedMealPrice,
double tipRate,
double taxRate) {
double tip = tipRate * listedMealPrice;
double tax = taxRate * listedMealPrice;
double result = listedMealPrice + tip + tax;
System.out.println("Your total meal price is " + result);
}

public static void main(String[] args) {

}
Expand Down