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
Rasek [7]
3 years ago
13

Which of the following would be the most appropriate way to define a method that calculates and returns the final price, after t

ax and tip, for a passed in price, assuming tip is always 15% and tax is always 8%?
a. public double getFinalPricel double tips, double tax).
b. public double getFinal Price double tax)
c. public double getFinalPrice/double basePrice, double tips)
d. public double getFinalPrice double basePrice, double tips, double tax)
Computers and Technology
1 answer:
Oksanka [162]3 years ago
5 0

D. I hope it helped
You might be interested in
What features are provided by most GUIs?
PSYCHO15rus [73]

Windows is the answer

8 0
4 years ago
Which setting is used to determine the order of printing pages?
sineoko [7]

Answer:

Collation Settings

Explanation:

In Microsoft Word, we are given several setting options (e.g. Collation, Orientation, Margin and Scaling) to print our documents. Collation is one of the given settings that allows us to adjust the order of printing pages. There are only two options in Collation Setting (Collated or Uncollated). If Collated is chosen, the pages will be printed in sequential order (e.g. Page 1, Page 2 and Page 2) and followed by another copy of pages with same sequential order. On another hand, if Uncollated is chosen, All copies of Page 1 will be printed first then only followed by the Page 2 for all copies and so on.

7 0
4 years ago
In order to implement the classic DoS flood attack, the attacker must generate a sufficiently large volume of packets to exceed
gavmur [86]

Answer:

131 packets

Explanation:

Given

W (link ) =0.5 M bits,  and Ping packets ( P ) = 500bytes

To flood a target organization that has a bandwidth of W bits using a packet Mbits, you will require a W / P packet

P ( required ) = 500  * 8 = 4000 bits

therefore the W /P packet is calculated as

= 0.5 M bits / 4000 bits

given that :  1 M bits =  1,048,576 bits

0.5 M bits / 4000 bits=  131.07  

hence approximately 131 packets/ sec is required to flood the target organization

4 0
3 years ago
A technician wants to create a new partition on a new additional hard drive. what tool should be used?
Vitek1552 [10]
A Disk Defragmenter should be used
7 0
3 years ago
Which of the following is not an acceptable way to code a nested structure? Select one: a. nest a for loop inside a while loop b
kirill115 [55]

Answer:

nest an else clause within an elif clause

Explanation:

in python Programming, we cannot nest an else clause within an elif clause. elif is actually else if condition. we cannot nest another else with in elif clause.

8 0
3 years ago
Other questions:
  • Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a m
    6·2 answers
  • What is the greatest distance that can separate the USB 2.0 device from the computer?
    8·1 answer
  • Assume there is a Mac and a HP computer each has an Intel microprocessor. Would an assembly program produced using the Mac compu
    13·1 answer
  • What do you like most about brainly?
    13·2 answers
  • Which is the most common drive letter where Windows stores most data and programs? A. A B. B C. C D. E
    12·2 answers
  • John wants to share resources and move a large volume of data quickly over the Internet. John should use which of the following
    9·1 answer
  • Meat and poultry exposed to some forms of radiations to extend shelf life. *
    8·1 answer
  • How might a company gain followers on Twitter?
    7·1 answer
  • How does a python programmer concatenate a numeric value to a string value?
    7·1 answer
  • Write a python program to check whether the number is divisible by 7. If its divisible, print its divisible otherwise find previ
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!