# Question Solved1 AnswerI have to write a java program not C++.can you help me writing a java program 1 . 1 o Write a program that calculates the tip in a restaurant It should prompt the user for the bill amount before tip, and the tip as a percentage · Then compute and display the tip amount in dollars, and total including tip · For example, if the user enters 10.00 for the bill amount and 15% for tip, the program displays “\$1.50” as tip amount and “\$11.50” as total Here's a sample run: Please enter the bill amount: 15.69 Please enter the tip %: 15 The tip amount is \$2.35 and the total is \$18.04

8QRQLL The Asker · Computer Science

I have to write a java program not C++.
can you help me writing a java program

Transcribed Image Text: 1 . 1 o Write a program that calculates the tip in a restaurant It should prompt the user for the bill amount before tip, and the tip as a percentage · Then compute and display the tip amount in dollars, and total including tip · For example, if the user enters 10.00 for the bill amount and 15% for tip, the program displays “\$1.50” as tip amount and “\$11.50” as total Here's a sample run: Please enter the bill amount: 15.69 Please enter the tip %: 15 The tip amount is \$2.35 and the total is \$18.04
More
Transcribed Image Text: 1 . 1 o Write a program that calculates the tip in a restaurant It should prompt the user for the bill amount before tip, and the tip as a percentage · Then compute and display the tip amount in dollars, and total including tip · For example, if the user enters 10.00 for the bill amount and 15% for tip, the program displays “\$1.50” as tip amount and “\$11.50” as total Here's a sample run: Please enter the bill amount: 15.69 Please enter the tip %: 15 The tip amount is \$2.35 and the total is \$18.04