1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tangare [24]
2 years ago
9

In Java please,

Computers and Technology
1 answer:
Bogdan [553]2 years ago
8 0

Answer:

  1. import java.util.Scanner;
  2. public class Main {
  3.    public static void main(String[] args) {
  4.        Scanner input = new Scanner(System.in);
  5.        System.out.print("Enter meal total: $");
  6.        double meal = input.nextDouble();
  7.        double finalAmount = meal + meal *0.09;
  8.        if(finalAmount * 0.15 > 8){
  9.            finalAmount = finalAmount + 8;
  10.        }else{
  11.            finalAmount = finalAmount + finalAmount * 0.15;
  12.        }
  13.        System.out.println("Final amount: $" + finalAmount);
  14.    }
  15. }

Explanation:

Firstly, create a Scanner object and print user to input total meal (Line 5-7). Next, add the 9% tax to the meal total (Line 8). Use an if statement to check if the finalAmount multiplied by the 15% of tips is bigger than 8 (Line 10), if so, only add 8 to the final amount (Line 11). If not, add 15% tips to final amount (Line 12). At last, print out the final amount (Line 15).

You might be interested in
In 1940, the FCC reserved a set of frequencies in the lower range of the FM radio spectrum for _____ purposes as part of its reg
Monica [59]

Answer:

education purposes

Explanation:

Education institutes make some programs like School of the Air and College of the Air, forums, and discussion tables, in 1940 the FCC reserved a range of the FM radio spectrum for education purposes.

Although FM was unpopular when the FCC moved the FM bandwidth to a higher set of frequencies, and people and consumer stations had to buy new equipment.

5 0
3 years ago
HAIIIIIII ANYONE FEELING JOLLY OR SAD
Karo-lina-s [1.5K]

Answer:

Heyy I'm feeling sad and stressed. Wbu?

Explanation:

8 0
3 years ago
Read 2 more answers
1. It is another multimedia type you can work with in PowerPoint. If you have this on
Tamiku [17]

Answer:

1. Audio.

2. Copy and paste.

3. Multimedia presentation.

Explanation:

PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation.

Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.

1. Audio is another multimedia type or format that an end user can work with in PowerPoint. If end users have an audio file such as MP3 or WAV file on their computers, they can easily add them to their presentation using Microsoft PowerPoint.

2. In Microsoft PowerPoint, one of the simplest way to add an image to a presentation is to copy the image from a directory and paste it on the work area.

3. Multimedia presentation is a stand-alone presentation which typically involves presenting informations with graphics, slides, texts, video, or digital representations and sound which might be a narrative, music or sound effects.

3 0
2 years ago
A company has a custom object named Warehouse. Each Warehouse record has a distinct record owner, and is related to a parent Acc
PilotLPTM [1.2K]

Answer:

Lookup.

Explanation:

Lookup is the relationship that developer would use to relate the Account to the Warehouse.

8 0
3 years ago
Write a Python class, Flower, that has three instance variables of type str, int, and float, that respectively represent the nam
MA_775_DIABLO [31]

Answer:

The python class is shown on the first uploaded image

Explanation:

6 0
3 years ago
Other questions:
  • What is cryptocurrency ? I need to do a research one it please help!
    6·1 answer
  • What is a stereo type?
    14·2 answers
  • Number 20, can anyone help?
    11·1 answer
  • Random access memory is the portion of a computer's primary storage that does not lose its contents when one switches off the po
    6·2 answers
  • MoonieStardust Here is the rest of the picture from my last question you answered.
    11·2 answers
  • PLZ HELP ASAP
    13·1 answer
  • Write pseudocode for the question below:
    15·1 answer
  • Identify the characteristics of logic problems. Select all that apply.
    11·2 answers
  • How does the autosum command calculate data? Need help ASAP​
    5·1 answer
  • WHATS 5X750 i really dont even know that questiob
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!