Question: ---java code--- ---- trorchy's tuna are starting to sell their food online. tuna sandwiches are $3.5 each , or $12 for 4. a delivery fee

---java code---

----

trorchy's tuna are starting to sell their food online. tuna sandwiches are $3.5 each , or $12 for 4. a delivery fee for 10% is assessed on all deliveries to west campus.

write an interactive main() that prompts the user to enter the number of tuna sandwiches and a "yes" or "no" indicating whether or not they living in west campus, and prints the roral cost of the order including delivery. a sample interaction is shown below, with users responses in bold. note that the price of $19.00 id correct for input shown. it is okay to assume that anything oder than the exact string "yes" may be interpreted as a "no"

how many? 6

west campus(yes/no)? y

total:19.0

import java.util.Scanner ;

public class TorchysOrder{

public static void main (string [] args)

{

}

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!