When it comes to paying bills at restaurants, Wallace always leaves a 15% tip based on the pretax price. However, Wallace is tired of computing tips every time, please construct a function total_bill, which takes a numerical argument pretax and returns the total bill by 1) calculating the tip, 2) the after-tax price, and 3) adding the tip to the after-tax price. Assume the sale tax is 9%. Below is how the function would be used:
pretax = 15
print('The total bill is ${}'.format(total_bill(pretax)))
The output should be:
The total bill is $18.6

Answers

Answer 1

Answer:

where are the answers.

Explanation:


Related Questions

When is blue for when the instance in which the directory of compulsion in the air!

Answers

I think it’s what the other person said

Where should a photographer place lights for a headshot? Headshot lighting is more important with darker backgrounds. The light should be at a 45-degree angle from the subject. The light should be in front of the subject. The third light should be the subject to form a ring of light around the subject’s hair.

Answers

Answer:

Headshot lighting is more important with darker backgrounds. The  

(key)  light should be at a 45-degree angle from the subject. The  

(fill)  light should be in front of the subject. The third light should be  

(behind) the subject to form a ring of light around the subject’s hair.

Explanation:

i searched it up individually and thats what i got

Write Inheritance program for the following scenario. Employee is super class where as Manager and Regular are the sub class. Partial Employee class is created, you have to complete the Employee class and implement Manager and Regular class. The main is class is given that creates objects of all classes and displays the output.
• The subclasses uses super keyword in the constructor to assigned the data.
• All the classes implements toString() method.

Answers

Answer:

Explanation:

public class Employee{

//Existing employee code

public String getName(){

return Name;

}

public double getSalary(){

return salary;

}

public int getId(){

return id;

}

public void setName(String name){

this.name = name;

}

//Manager Class

public class Manager extends Employee{

private double bonus;

public Manager(int id,String name,double salary,double bonus){

super(id,name,salary);

this.bonus = bonus;

}

public void setBonus(double bonus){

this.bonus = bonus;

}

public double getBonus(){

return bonus;

}

}

//Regular Class

public class Regular extends Employee{

private double overtime;

public Manager(int id,String name,double salary,double overtime){

super(id,name,salary);

this.overtime = overtime;

}

public void setOvertime(double overtime){

this.overtime = overtime;

}

public double getOvertime(){

return overtime;

}

}


Imaging a computer is part of what phase of conversion?
a. Backup
b. Configuration
c. Procurement

Answers

B. Because the computer can rearrange itself when it is in a phase of conversion

king(a. has eaten b.ate c.had eaten) when Airah called​

Answers

Answer:

c

Explanation:

king had eaten when Airah called

If you get your foot stuck in a cloud how many colors can you smell with you ears

Answers

Answer: 42 is the answer to everything and just remember, Don,t panic.

For i am the hitch hikers guide to the galaxy.

 

Explanation:

The base class Pet has private fields petName, and petAge. The derived class Dog extends the Pet class and includes a private field for dogBreed. Complete main() to:
• create a generic pet and print information using printInfo()
• create a Dog pet, use printInfo() to print information, and add a statement to print the dog's breed using the getBreed() method.
Ex. If the input is:
Dobby
2
Kreacher
3
German
Schnauzer
the output is:
Pet Information:
Name: Dobby
Age: 2
Pet Information:
Name: Kreacher
Age: 3
Breed: German Schnauzer

Answers

Answer:

Explanation:

The following code is written in Java and creates the needed code within the main method in order to get the desired output as shown in the example. It also added The proper questions so that the user can know what type of information they should type in.

import java.util.Scanner;

public class PetInformation {

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       String petName, dogName;

       String dogBreed = "null";

       int petAge, dogAge;

       Pet myPet = new Pet();

       System.out.println("Enter Pet Name:");

       petName = scnr.nextLine();

       System.out.println("Enter Pet Age:");

       petAge = scnr.nextInt();

       Dog myDog = new Dog();

       System.out.println("Enter Dog Name:");

       dogName = scnr.next();

       System.out.println("Enter Dog Age:");

       dogAge = scnr.nextInt();

       scnr.nextLine();

       System.out.println("Enter Dog Breed:");

       dogBreed = scnr.nextLine();

       System.out.println(" ");

       myPet.setName(petName);

       myPet.setAge(petAge);

       myPet.printInfo();

       myDog.setName(dogName);

       myDog.setAge(dogAge);

       myDog.setBreed(dogBreed);

       myDog.printInfo();

       System.out.println(" Breed: " + myDog.getBreed());

   }

}

class Pet {

   protected String petName;

   protected int petAge;

   public void setName(String userName) {

       petName = userName;

   }

   public String getName() {

       return petName;

   }

   public void setAge(int userAge) {

       petAge = userAge;

   }

   public int getAge() {

       return petAge;

   }

   public void printInfo() {

       System.out.println("Pet Information: ");

       System.out.println(" Name: " + petName);

       System.out.println(" Age: " + petAge);

   }

}

class Dog extends Pet {

   private String dogBreed;

   public void setBreed(String userBreed) {

       dogBreed = userBreed;

   }

   public String getBreed() {

       return dogBreed;

   }

}


Please help meeee , you will get 20 points

Answers

Answer:

true

Explanation:

true trueee 3uehehehdgeyeyehhehehegegegrhrtggrevegrgrhehehru

I THINK IT FALSE

#Carry on learning

Which one is better AMD Ryzen 5 Or Nvidia Gtx 2080 ti

Answers

Answer:

The NVIDIA GTX 2030 Ti

Explanation:

The AMD Ryzen 5 is good for a starting gaming PC, but if you are looking for a gaming PC that could run a lot more games, use the NVIDIA GTX 2080 Ti.

PLZZ HELP HELP EL
SMMSNSM

Answers

Answer:

jfhhdbdbfjdjdvebbebzbdbd

See the picture and answer the coding question

Answers

Answer:

Actually I don't know computer so I can't help you sorry bro

Take a better picture please

.
T
Which of the following objects are not contained within
an Access database?
Select one:
a Tables and forms,
b. Queries and reports.
c. Macros and Modules
d. Web sites and worksheets​

Answers

Answer:

17 38 ay

Explanation:

a

A restaurant recorded the ages of customers on two separate days. You are going to write a program to compare the number of customers in their twenties (ages 20 to 29). What is the missing line of code to count the number of customers in their twenties? customerAges = [13, 3, 11, 24, 35, 25, 15, 18, 1] count20s = 0 if 20 <= item <= 29: count20s = count20s + 1

Answers

Answer:

You will need to implement a for loop ( I am assuming this is java)

Explanation:

int count20s = 0;

for(int x =0; x< customerAges.length;x++){

if(20 <= customerAges[x] && customerAges[x] <= 29){

     count20s++;

}

Read the scenario and then choose which type of report it describes.

A salesperson searches the inventory list to find out whether a specific product is in stock.

customer list

market-research report

product list

sales-volume report

Answers

Answer:

C) product list

Explanation:

i read the coments above XD

plus im takeing the test rn

Answer:

Next one D

Explanation:

What are the characteristics of a good text-based adventure game? In other words, what are some features that should be in the game to make it appealing to players?

Answers

Answer:

spelling and good format

Explanation:thats all i know

The Binary Search algorithm works by testing a mid-point, then eliminating half of the list.

a. True
b. False

Answers

Answer:

a. True

Explanation:

The Binary Search algorithm works by testing a mid-point, then eliminating half of the list.

Why must a mobile application be easily customized and personalized?

Answers

Answer:

Explanation:

An app is a way to bring your consumer closer to your products or services. It allows customers to easily interact and make transactions without physical limitations. To have positive results, it's important that the app has a focus on user usability and navigability.

Answer:

I don't know Roxy -w-

Explanation:

what is the perpose of the boolean variable swaps in this buble sort algorithm

Answers

Answer:

“Bubble Up” algorithm will move largest

value to its correct location (to the

right/end of array)

• Repeat “Bubble Up” until all elements are

correctly placed:

– Maximum of N-1 times

– Can finish early if no swapping occurs

• We reduce the number of elements we

compare each time one is correctly placed

3.5.6 Introduce Yourself, Part 2


please hellllpp it keeps saying the code is wrong

Answers

Answer:

In Python:

name = "Arthur"

age = "62"

print("Hi! My name is "+name+" and I am "+age+" years old")

Explanation:

Given

See attachment

Required

Write a code to introduce yourself

Initialize name

name = "Arthur"

Initialize age

age = "62"

Print introduction

print("Hi! My name is "+name+" and I am "+age+" years old")

please help
Consider the following code segment.

int a = 0;
int b = 3;

while ((b != 0) && ((a / b) >= 0)
{
a = a + 2;
b = b - 1;
}
What are the values of a and b after the while loop completes its execution?

a = 4, b = 1
a = 0, b = 3
a = 6, b = 0
a = 8, b = -1

Answers

Answer:

a = 6, b = 0

Explanation:

The loop ran 3 times before b == 0. The statement "while ((b != 0)" is essentially saying: 'While b is not equal to 0, do what's in my loop'. Same general thing with "&& ((a / b) >= 0)". The "&&" is specifying that there should be another loop condition. The final part of the while loop states: 'as long as a ÷ b is greater than 0, do what's in my loop'. If all of these conditions are met, the loop will run. It will continue to run until at least one of the conditions are not met.

Side note: I can't help but notice you posted the same question a while ago, so I just copied and pasted my previous response with some tweaking here and there. Hope this helps you! :)

Create two functions (with appropriate names) that produce the output below. Both functions must use a prototype. All that should be present in main() is the call to these two functions and a blank line of output between the function calls. This is a very easy exercise. Focus on the fundamentals. Make sure you review my solution file to make sure your syntax and name choice is good. Output: This is the first part of my program. It was created with a function. <-- These two lines are output by the first function This is the second part of my program. It was created with a different function. <-- These two lines are output by the second function

Answers

Answer:

In C++:

#include <iostream>

using namespace std;

void function1(); void function2();

int main(){

   function1();    function2();

   return 0;}

void function1(){

   cout<<"This is the first part of my program."<<endl<<"It was created with a function"<<endl;}

void function2(){

   cout<<"This is the second part of my program."<<endl<<"It was created with a different function.";}

Explanation:

This defines the function prototypes

void function1(); void function2();

The main begins here

int main(){

This calls the two functions from main

   function1();    function2();

   return 0;}

This calls function1()

void function1(){

   cout<<"This is the first part of my program."<<endl<<"It was created with a function"<<endl;}

This calls function2()

void function2(){

   cout<<"This is the second part of my program."<<endl<<"It was created with a different function.";}

How do most benchmark tests measure the performance of a graphic card​

Answers

Answer:

Using Frame Rate

Explanation:

Most benchmark tests measure the performance of a graphic card​ by using "Frame Rate"

This is because using Frame Rate assesses and then measures the number of images a GPU (graphic processing unit) can render and at the same time the number of images that are being shown on a monitor or screen per second.

Hence, in this case, the correct answer is "Frame Rate"

During what stage of problem solving is information gathered in order to see if the plan produced the intended outcome?
A. implement the solution
B. Define the problem
C. Identify solutions
D. evaluate results ​

Answers

Identify solutions is  to see if the plan produced the intended outcome.

Hence, option C is correct answer.

What is problem solving?

Diagnose the circumstance to keep your attention on the issue and not merely its symptoms. Use cause-and-effect diagrams to establish and examine root causes, and flowcharts to show the anticipated steps of a process while solving problems.

Key problem-solving steps are explained in the sections that follow. These actions encourage the participation of interested parties, the use of factual information, the comparison of expectations with reality, and the concentration on a problem's underlying causes. You ought to start by:

reviewing and capturing the functioning of current processes (i.e., who does what, with what information, using what tools, communicating with what organisations and individuals, in what time frame, using what format).

assessing the potential effects of new resources and updated regulations on the creation of your "what should be"

Read more about problem solving:

https://brainly.com/question/23945932

#SPJ1

In JavaScript what is the resulting value of answer for answer = 5 + 3 * 2? Explain why the answer is not 16.

Answers

Answer:

with this type of math , you actually multiply first before you add

Explanation:

2×3 =6.

6+5=11.

JavaScript is the resulting in the value are the of answer for answer = 5 + 3 × 2 = 11. It was not the 16.

What is JavaScript?

The word JavaScript refers to a text-based programming language, and the server-side is what allows users to make web pages interactive. HTML and CSS are two programming languages that are used to make web pages dynamic.

According to the JavaScript, are the resulting the values, and they define are the answer.

As per the rule of the bod mas rule.

5 + 3 × 2 = ?

3 × 2 = 6

5 + 6 = 11

As a result, the JavaScript are the based on the resulting in the value 5 + 3 × 2 = 11.

Learn more about on JavaScript, here:

https://brainly.com/question/28448181

#SPJ2

29. Write a program in a script file that calculates the cost of renting a car according to the following price schedule: The program asks the user to enter the type of car (sedan or SUV), the number of days, and the number of miles driven. The program then displays the cost (rounded to cents) for the rent. Run the program three times for the following cases: (a) Sedan, 10 days, 769 miles. (b) SUV, 32 days, 4,056 miles. (c) Sedan, 3 days, 511 miles.

Answers

Answer:The price for renting a car at a car rental company is according to the following schedule: Write a MATLAB program in a script file that calculates the cost of renting a car based on the shown price schedule. The program must ask the user to enter the type of car (Sedan or SUV), the number of days, and the number of miles driven. The program then displays the cost (rounded to cents) for the rent in a sentence that reads: "The cost of the rent is XXX $." where XXX is the cost value in $. Run the program three times for the following cases: Sedan, 10 days, 769 miles. SUV, 32 days, 4, 056 miles. Sedan, 3 days, 511 miles. Use fprintf () to display the text and data. The data should be displayed in f format with two decimal digits.

Explanation:

The method removeDupes is intended to remove duplicates from array a, returning n, the number of elements in a after duplicates have been removed. For example, if array a has the values {4, 7, 11, 4, 9, 5, 11, 7, 3, 5} before removeDupes is called, then after duplicates are removed, a will be {4, 7, 11, 5, 9, 3} and 6 will be returned.Consider the following three implementations of RemoveDupes. I. public static int removeDupes (int [ 1 a) int n-a.length; for (int i-0, icn; i+M int current- a [il: int j i+1; while (jcn)K if (currentaulK alil aln-1) return n; Il. public static int removeDupes (int [] a)t int n-a.length; for (int i-0; ikn; i++ int current a [il for (int j-0; j

Answers

Answer:

public int removeDupes(int[]a){

int n =0;

for(int x =0;x<a.length;x++){

for(int y=0;y<a.length;y++){

if(a[x]==a[y]){

n++;

}

}

int left = a.length-n;

return left;

}

}

Explanation:

Select the correct word to complete the sentence.
Bandwidth represents the _____ of a connection.

capacity
speed
distance
security

Answers

Distance is the answer!

Answer:

Capacity

Explanation:

i got it wrong and it showed this to be the answer on edge

An administrative assistant is responsible for scheduling appointments at a doctor’s office. Which component would allow the administrative assistant to enter each patient’s name, date of birth, doctor’s name, and appointment date and time?

Answers

Answer: Form

Explanation:

Answer:

A on edge

Explanation:


Question 12 of 30
In Alienware systems, errors are indicated via the tricolor Power Button LED.
True
False

Answers

Answer:

False.

Explanation:

Bought the latest Alienware 15 r3 with i7 7th gen, 1060gtx, etc. Next day laptop wont post, turns on, reboots, then does the same thing, meanwhile the power led button blinks 6 times. So making a little research and its seems like a video card is kaput, dont know if its the intel or the nvidia. Aynway, I bought this laptop from a company in Canada, and it seems it was alredy registered so I cand procced with a transfership ownership.

Answer:

I think the answer

is true.

is the trust necessary to use an emerging technology platform? why?​

Answers

Answer:

Emerging technologies can provide improved accuracy, better quality and cost efficiencies for businesses in every sector. They can enhance trust in the organization's operations and financial processes, which is crucial for sustainable success.

Emerging technologies included a range of technology like education, IT, nanotechnology, biotech, computer neuroscience, robotic devices, and artifact intellectual ability.

It could working capital in all sectors with better accuracy, quality, and cost-efficiency.It can build confidence in the accounting and business processes of the organization, which is critical for sustainable success.

Therefore, these technical innovations represent the progressives of competitive advantage converging technologies, that in some ways represent bigger and more powerful interconnections and similar goals.

Learn more:

brainly.com/question/1144539

Other Questions
verify/prove the following trigonometric identity:cos (x)/sec (x) + sin (x)/csc (x) = sec^2 (x) tan^2 (x) The equation a + b = c could be true or false. The county fair charges $1.00 per rode and an additional $3.00 to get in the fair. Write an equation to represent the total cost of attending the fair.First identify the independent and dependent variables. Anyone know how to do this??? Select the correct answer. The hiking club is getting new T-shirts and will vote to choose the design. Marianna and Chloe are each designing a T-shirt using a computer program. Mariannas design features an image of the mountains, with the peaks and valleys modeled by function m, where x is the horizontal distance, in inches, from the left edge of the design. Chloes design also features an image of the mountains, with the peaks and valleys modeled by function c, where x is the horizontal distance, in inches, from the left edge of the design. Which T-shirt design has the lowest valley floor over the first 6 inches of the design? Both designs have valley floors at the same height over the first 6 inches of the design. Mariannas design doesnt have a valley floor over the first 6 inches of the design. Chloes design has the lowest valley floor over the first 6 inches of the design. Mariannas design has the lowest valley floor over the first 6 inches of the design. WILL GIVE BRAINLIEST Why are the following animals considered livestock? (What do we get from them?) a. Cattle: b. Sheep: C. Pigs d. Goats: e. Horses: f. Poultry: What decimal is equivalent to 9/12? 4. True or false. Singing sounds better in large rooms.1.True2.False identity the vertex, focus, and directrix What is the missing lengt?area = 405 m 1. Describe the components of the reflex arc 8. During the early 1800's what Empire did California and Texas belong to (hint-beforeMexico)? What 2 characteristics are used to place organisms into different kingdoms how do I solve this? A painter is building scaffolding to paint the ceiling of a tall building. Each section of scaffolding is in the shape of a rectangle and measures 8 feet wide by 17 feet long. The painter uses metal piping along the diagonal to secure the scaffolding. Which measurement is closest to the length of the diagonal piping? Ashley purchased a prepaid phone card for $25.75. Calls cost 6 cents a minute using this card. The credit, C (in dollars), left on the card after it is used for xminutes of calls is given by the following.C= 25.75 -0.06x You and a friend are swimming at your grandparent's house one toastysummer afternoon. You have music playing through the Bluetooth speakeron the pool deck, but every time you go underwater, you can hear thenoise, but you cannot understand the words of the song. What wouldexplain this phenomenon? *Sound waves travel faster in a gas than they do in a liquid, which is why you cannotunderstand the words,Sound waves travel faster in a liquid than a gas, our ears are just not designed totranslate the faster moving waves,Sound waves cannot travel at all in a liquid, which is why you cannot understand thewords and it's a miracle you can even hear the music at all,Sound waves travel at the same speed regardless of the medium; your grandfather isturning the music on and off when you go underwater and the noise you hear is thesong stuck in your head, What is the missing side length of the pyramid if the volume is 1,026 cubic inches Part ARead this section from the House Divided Speechand answer the follow-up questions.Two years ago the Republicans of the nationmustered over thirteen hundred thousand strong.Which of the following best describes the tone of thissection?A. calm and objectiveB. bitterly sarcasticC. excitedly hopefulD. heartfelt and urgentWe did this under the single impulse of resistance toa common danger, with every external circumstanceagainst us.Part BOf strange, discordant, and even, hostile elements,Which statement from the speech conveys this tone?we gathered from the four winds, and formed andO A Two years ago the Republicans of the nationfought the battle through, under the constant hot fire mustered over thirteen hundred thousand strongof a disciplined, proud, and pampered enemy.B. "We did this under the single impulse of resistance toa common danger, with every external circumstanceagainst us."Did we brave all then to falter now?-now-when thatsame enemy is wavering, dissevered and belligerent? Oc. "Did we brave all then to laiter now?--now-whenthat some enemy is wavering, dissevered andbelligerent?"The result is not doubtful. We shall not fail-if weOD. "Wise councils may accelerate or mistakes delay it.stand firm, we shall not fail.but sooner or later the victory is sure to come."Submit AssignmentWise councils may accelerate or mistakes delay it,but, sooner or later the victory is sure to come. The table below shows a record of three Baloon Pop games. Number of Playersgame 1 players: 52game 1 winners: 14game 2 players:77game 2 winners: 25game 3 players: 61Game 4 winners: 25Based on the data recorded in the table, how many winners would you expect if there are 100 players?