1. An auto repair shop charges as follows. Inspecting the vehicle costs $75. If no work needs to be done,
there is no further charge. Otherwise, the charge is $75 per hour for labour plus the cost of parts, with a
minimum charge of S120. If any work is done, there is no charge for inspecting the vehicle. Write a program
to read values for hours worked and cost of parts (cither of which could be 0) and print the charge for the job. ​

Answers

Answer 1

Answer:

charge = 0

hours_worked = int(input("Enter the hours worked: "))

cost_of_parts = float(input("Enter the cost of parts: "))

if hours_worked == 0:

   charge = 75

else:

   charge = 120 + (75 * hours_worked) + cost_of_parts

   

print("The charge is $" + str(charge))

Explanation:

*The code is in Python.

Initialize the charge as 0

Ask the user to enter the hours_worked and cost_of_parts

Check the hours_worked. If it is 0, that means there is no inspecting. Set the charge to 75

Otherwise, (That means there is an inspecting) set the charge to 120, minimum charge, + (hours_worked * 75) + cost_of_parts

Print the charge


Related Questions

What is the value of mystery(5)? int mystery(int n) { if (n > 0) return 3 - n % 2 + mystery(n-1); return 0; } Group of answer choices

Answers

Answer:

The function returns the largest of n number of elements in the array.

It takes an int array parameter int[] a, and an integer parameter n. It then assigns the first element of the array to an integer variable X.

The for loop begins at the second element of the array and loops less than n number of times. In each iteration, it checks if the element is greater than X and swaps it with X.

The function finally returns X.

Explanation:

hope this helped :)

The principal disadvantage of _________ mapping is the complex circuitry required to examine the tags of all cache lines in parallel.

Answers

Answer:

Associative

Explanation:

Associative mapping is where the address and data of the memory word are stored. However, complex circuitry is required to examine the tags of all cache lines in parallel.

5 differences between a regular mouse and a gaming mouse​

Answers

Answer:

A gaming mouse has more buttons to keybind to while a regular mouse is simpler

Explanation:

Which statement best describes the logic in a while loop?bringing an umbrella to determine if it is rainingbringing an umbrella regardless if it is rainingdetermining if there is rain before bringing an umbrelladetermining if an umbrella is available in case of rain

Answers

Answer:

B. If it is raining, bring an umbrella regardless.

Explanation:

Here is the code syntax:

while _ = true

print(rain)

In short words, this syntax is basically saying while a condition is true, do this. "This", is the function run under the true condition. For while loops to work, at least one condition of anything must be true.

Hope this helps!If that's the case, please give thanks!

Spyware is :___________a) software that tells the user if anyone is spying on his computer. b) software that monitors computing habits and sends the data it gathers to someone else. c) software that monitors whether spies are looking at the computer.

Answers

Answer:

The answer is b

Explanation:

Spyware is a type of malware that collects personal data from your device and sends it to another party

Which configuration management tool helps developers track and manage the product’s build, deployment, and integration?
A.
SQL Integrity Check
B.
SpiraTeam
C.
Unified Modeling Language
D.
Quick Test Professional
E.
RS Project Manager

Answers

I believe it is quick test professional, granted I have never used Spirateam before so I’m not too familiar with it.

Question 1
Your friend is sad because a picture he deleted four years ago is still on the Internet,
and it's embarrassing. You remind him that

Answers

Explanation:

you remind him that you cant rewind your mistakes

Answer:once something is on the internet it’s stay on the internet

Explanation:

What differentiates files stored on the same track and sector of different platters of a hard disk?.

Answers

Files that are stored on the same track and sector of different platters of a hard-disk drive are differentiated by a cylinder.

What is a hard-disk drive?

A hard-disk drive can be defined as an electro-mechanical, non-volatile data storage device that is made up of magnetic disks (platters) that rotates at high speed. Also, hard-disk drive are commonly installed on computers and other digital service for the storage of files.

In Computer technology, the Files that are stored on the same track and sector of different platters of a hard-disk drive are typically differentiated from one another by a cylinder configured with tracks of equal diameters.

Read more on hard-disk here: https://brainly.com/question/26382243

what would be the effect if register contained 10100110​

Answers

Answer:

If the register contain 10100110, this means motor B is on and motor C is on and motor B turning to produce Backward motion and motor C is turning to produce Forward motion.

Explanation:

hope it helps you

On any given camera, a 50mm lens would create an image of a scene that would appear
enlarged compared to an image of the same scene created using a 25mm lens.
False
O
True
Answer this ASAP

Answers

Answer:

true

Explanation:

On any given camera, a 50mm lens would create an image of a scene that would appear enlarged compared to an image of the same scene created using a 25mm lens. This statement is True.

What is lens?

The lens may be diverging or converging which forms an image enlarged or diminished in nature.

The lens of dimension 50mm will make larger image as compared to the image by the lens of 25mm.

Thus, the statement is true.

Learn more about lens.

https://brainly.com/question/14413099

#SPJ2

Sea level is the average level of the sea between high and low tide. It is used as a reference point for measuring elevation, or height and depth, on Earth. Some places lie above sea level, while others lie below sea level. The lowest point in New Orleans is 8 feet below sea level. You can represent that numerically using . The highest point in Chicago is 735 feet above sea level. You can represent that numerically using .

Answers

Answer:

1.The lowest point in New Orleans is 8 feet below sea level. You can represent that numerically using

✔ a negative integer

2.The highest point in Chicago is 735 feet above sea level. You can represent that numerically using

✔ a positive integer

Hope I helped!! :))

Answer:

The lowest point in New Orleans is 8 feet below sea level. You can represent that numerically using

✔ a negative integer

.

The highest point in Chicago is 735 feet above sea level. You can represent that numerically using

✔ a positive integer

.

Explanation: the other person is correct they should get all the credit im  just saying this to let people know that its right so that they know these answers are correct

50 points The system administrator role began in the late 1970s and involved physically managing _____ and _____.

A.
hardware; databases

B.
software; databases

C.
hardware; networks

D.
software; networks

Answers

The system administrator role began in the late 1970s and it involved physically managing: C. hardware; networks.

Who is a system administrator?

A system administrator can be defined as an individual who is saddled with the responsibility of configuring and managing an informations system (IS), which typically involves the physical management of hardware and networks.

Historically, the role of a system administrator began in the late 1970s and it involved physically managing the components of an informations system (IS) such as:

HardwareNetworks

Read more on hardware here: brainly.com/question/959479

Which of the following can data mining NOT do?

Question 1 options:

Help spot sales trends


Save a business from bankruptcy


Develop better marketing campaigns


Predict customer loyalty

Answers

Cannot save a business from bankruptcy. Because data mining can analyze trends and make predictions based on this analysis. But data mining isn’t implementation, that is the job of developers or management team

Data mining will not be able to save a company from going bankrupt.

Data mining and bankruptcy:

The technique of collecting and attempting to discover trends in time series is known as trend analysis. Clustering, classification, regression, and other data mining techniques can be utilized to uncover certain patterns.

Data mining may be used to evaluate patterns and generate predictions based on that information. Data mining, on the other hand, is not implementation; it is the responsibility of the developers or leadership team.

Find out more information about 'Data mining'.

https://brainly.com/question/13954585?referrer=searchResults

Which one is correct

Answers

C The Excel PMT function is a financial function that returns the periodic payment for a loan.

Alicia is typing a research paper. She is having difficulty remembering the proper format for the references. Alicia should _____.

A. leave out the reference list.
B. Hope that nobody notices that the references are not in the correct format.
C. Include the references in the appendices.
D. Look up the APA guidelines for formatting a reference.

Answers

Answer:

D

Explanation:

i'm not 100% sure, sorry.

If Alicia is facing difficulty in remembering the proper format for the references. She should look up the APA guidelines for formatting a reference. Thus, the correct option for this question is D.

What is reference formatting?

Reference formatting may be characterized as a type of process that should appear in bold in upper and lower case and be centered at the top of the page. All reference entries should be double-spaced.

All references should be in a "hanging indent" format. Apart from this, it also includes a set of guidelines through which texts are arranged and regulated with respect to it the same pattern.

It should be required for all if they forget the actual format of any reference, they have to look it up once prior to its completion in order to reduce the chances of corrections.

Therefore, if Alicia is facing difficulty in remembering the proper format for the references. She should look up the APA guidelines for formatting a reference. Thus, the correct option for this question is D.

To learn more about Reference formatting, refer to the link:

https://brainly.com/question/27557318

#SPJ2

A CPU's job is to execute programs, which are made up of a series of individual operations called _________.

Answers

Answer: Instructions

Explanation: Common knowledge, plus i got it right on a test

_____ is the process of setting up a program or app to work with your computer, mobile device, and other hardware

Answers

Answer:

Installation

Explanation:

whenever you download a program like firefox you have to install it to use it first

The functions of forums

Answers

Answer:

The purpose of the forum is to talk about features that are currently in the game, whether they’re working, whether they’re not working, what we enjoy or dislike, what we would like to see in future, and what we would like to see less of, sharing tips and advice, and sharing creative stuff in the player content section.

Explanation:

Alliance wars is currently in beta testing. Anyone enrolled in the testing has their own access to a separate forum for discussion to discuss amongst themselves, and to provide feedback to the devs, on what is working and what isn’t. None of that information needs to be shared outside of the beta forum. Anyone NOT enrolled in the testing has no idea what is going on with it, so has no reason to be involved with discussing that side of things. If you don’t like that, you had your chance to apply the same as they did.

So yes, that thread should have been removed.

why is the pc showing the same display on two monitors

Answers

[tex]Answer:[/tex]

Your computer is set to that by default. If you want the display to be separated, see what you can find in your settings[tex].[/tex]

If that doesn't work, try to find some reliable help on a browser search.

Which type of document would be best created in Word? HELLP!!!!


Spreadsheet

Resume

Presentation

Animation

Answers

Answer: The answer is Resume

Explanation: I had this question on a quiz of mine and got the question right! Trust me it’s the right answer

It should be noted that the type of document would be best created in Word is B:Resume.

Documents serves as piece of written or electronic matter which gives information, one of this document is a resume.

A resume can be regarded as formal document which is been presented by job applicant to the employers, it itemize qualifications of the applicants for a position.

We can conclude that Microsoft word which is computer program can be used to create this resume.

Learn more about resume at:

https://brainly.com/question/800048

Consider the following method findValue, which takes an ArrayList of String elements and a String value as parameters and returns true if the String value is found in the list and false otherwise.
public static boolean findValue(ArrayList arr, String key)
{
for (int j = 0; j < arr.size(); j++) // Line 3
{
if (arr.get(j).equals(key))
{
return true;
}
}
return false;
}
Which of the following best explains the impact to the findValue method when, in line 3, int j = 0 is replaced by int j = 1 ?
A. It has no impact on the behavior of the method.
B. It will cause the method to return a different result when the key value is not in the list.
C. It will cause the method to return a different result when the key value is found only at the first index in the list.
D. It will cause the method to return a different result when the key value is found only at the last index in the list.
E. It will cause the method to throw an array index out of bounds exception.

Answers

The impact to the findValue method when, in line 3, int j = 0 is replaced by int j = 1 is (c) It will cause the method to return a different result when the key value is found only at the first index in the list.

How to determine the impact

On line 3, we have the following loop

for (int j = 0; j < arr.size(); j++) // Line 3

This means that the method searches through all elements of the array.

When this is changed to:

for (int j = 1; j < arr.size(); j++) // Line 3

The method searches through all elements of the array except the element at the first index

So, a different result would be returned if the key value is found only at the first index in the list.

Read more about methods at:

https://brainly.com/question/13795586

_also known as "closed source,"
referring to code that only its legal owner
can use and manipulate

Answers

Proprietary software

You've decided to go with a wireless guest network, which will be easy for customers to connect to throughout the bookstore's seating areas. Wireless networking has long been a request of customers, and you're excited to offer it to them. That decision was easy, but now you need to decide the technical details when setting up the wireless router. The router offers two Wi-Fi options: 802.11g and 802.11n.
Which wireless technology will you use for the guest network?
i. 802.11n
ii. 802.11g

Answers

Answer:

802.11n, but read explanation.

Explanation:

802.11n is faster because it supports 5GHz but also 2.4GHz. I don't know much about routers and networks, but as far as I know, 5GHz routers cover small area but since it supports 2.4GHz too, that should he superior to the 802.11g by any means. Though, once again, I don't know much about networks and routers.

In your own words explain the following about the Domain Name System
What problem does the DNS solve?
How does the DNS help the world wide web scale so that billions of users can access billions of web pages?

Answers

Answer:

The domain name system (DNS) is a naming database in which internet domain names are located and translated into internet protocol (IP) addresses. The domain name system maps the name people use to locate a website to the IP address that a computer uses to locate a website.

Explanation:

The Domain Name System is like the phone book for the Internet (DNS). People utilize domain names like espn.com or thenewyorker.com to access information online. Web browsers can interact by using Internet Protocol (IP) addresses. DNS changes domain names into IP addresses so that browsers may load Internet resources.

What problem does the DNS solve?

DNS servers manage which server a user will access when they enter a domain name into their web browser by converting requests for names into IP addresses. These are referred to as inquiries.

Now, according to the question, the DNS helps the World Wide Web scale so that billions of users can access billions of web pages. It translates an English-written website into an IP address, allowing users to be routed to websites on which they are trying to read information.

Get more information about DNS :

https://brainly.com/question/17163861

#SPJ2

Why fair use is justified in school work

Answers

some kids think school/schoolwork is hard but its hard sometimes because the teachers/school wants us to get alot of education and we do.

Answer:

Fair use law is justified in school work as the purpose of the work has been altered for academic use with zero profit gain. It goes about advancing knowledge, by either appending the already given knowledge or rewriting the given knowledge for personal use.

A single access point, and the set of hosts it serves, is called a(n) ________. BSS BSSID ESS None of these

Answers

Answer:

That's called a BSS! ^^

Explanation:

Isla is writing a report on the best roller coasters in America. Which device could help her with this?


Drone

Navigation system

Smart watch

VR headset

Answers

The device could help Isla with the above is VR headset.

What is a report?

Report writing is  known to ne a kind of formal style of writing a lot about  a topic. People of report writing about a school event , Business, etc.

The device could help Isla with the above is VR headset because it will help her to be as if she is inside the  roller coasters.

Learn more about writing a report from

https://brainly.com/question/192736

Alice has an item x and Bob has a set of five distinct items y1, y2, y3, y4 and y5. Design a protocol through which Alice (but not
Bob) finds out whether her x equals any of Bob's five items; Alice should not find out anything other than the answer ("Yes" or
"No") to the above question, and Bob should not know that answer or any secret from Alice. Do not use a hash-based solution
because even though the probability of a colission is small, Alice requires that no such colission can occur (but using encryption
is fine, because in that case two distinct items that are encrypted with the same key will result in two different ciphertexts)

Answers

I guess it will be 4 yards each hopes it will help u :)

A hyperlink with the _____ scheme may cause a web browser on a mobile device to initiate a phone call.

Answers

Answer:

tel; scheme

This is a function found in Java script that is used to initiate phone-calls per a given number.

-learning code and computers with potato

12. Which expression is equivaleType the correct answer in the box. Spell all words correctly.

Nathan is creating a presentation for the employees at his office. Which media element should he use in the navigational buttons and menus in his presentation?

Nathan should use text or ______elements for the navigational buttons and menus in his presentation. Nt to the given expression?

Answers

Answer:

nathan should use text or media element for the navigational button and menus in the presentation

Answer:

i think the first drop down is normal and second one complex

Explanation:

Other Questions
How many years have gone by from 200 B.c to 100 B.c What is the value of m in the equation 5m 7 = 6m 11? 18 1 18 1. Find the value of x. Then find the angle measures of the trapezoid.Sum of anglemeasures: 360 What can I write a essay on about a story about a locked door ???? How many 10 rupees can be exchanged for 100? At which approximate x-value are these two equations equal? A. 0. 5 B. 0. 8 C. 1. 2 D. 1. 4. norman look what i found lets look for its owner Help me asap 24 points and will mark what are these number below as a fraction1. 21.5 2. 7.423. 3.875 What parts of muscle contraction are missing from the model? Describe why these parts are important to the musclecontraction process. name the two pairs of parallel sides_____ and ____________and________ Anyone else hate geometry One travels due south at an average speed of 58 miles per hour, and the other travels due north at an average speed of 49 miles per hour. After how many hours will the two trucks be 802.5 miles apart? PLEASE ANSWER AS FAST AS POSSIBLE! what property is the same for all electromagnetic waves?A. the length of each waveB. the amount of energy each wave transmitsC. the speed of each waveD. the number of waves that occur each second THIS IS MY LAST CHANCE! FORTY POINTS AND BRAINLIEST.USE 5 DIFFERENT ER AND IR VERBS! I will fail Spanish if I get this wrong! I need to use the correct verbs but I am confused. I got it wrong last time for using AR verbs. Please help.What are a few things you did last month? In Spanish write at least 5 BASIC sentences (USING 5 different ER and IR verbs) about what you did last month. Be sure to use the correct forms of the preterite tense. Review the Unit 2 vocabulary list, use one verb from this list in each of your sentences. Some of them from the vocab list are to learn, to eat, to run, to write, to complete. genetic information is passed through the genes contained on the two chromosomes that a person receives from their parents A trueB. false We can talk about the amountofpotential energy per unit chargeas a function of locationwe use the term voltageto describe this.A voltage difference between two locations results from the presence of an electric field. The more work the field can do in moving thecharge from point A to point B, the higher the voltageof point A is relative to point B.Required:a. Describe and draw the electric field between two large, oppositely charged plates.b. Electric potentialis completely analogous to an object being dropped off of a building. The higher the building, the more potential energy the object has. Make a sketch of the ground and a building anddraw lines that indicate constantpotential energyof an object.c. On your sketch for part a, draw lines of constant potential (these are called equipotentiallines). It may help to imagine placing a positive charge between the plates. It will accelerate toward the negative plate and run into it. Regardless of where you place the charge on an equipotential line, itll hit the negative plate with the same speed. Find the value of n so that the line perpendicular to y=15x 6 passes through the points (n, 12) and (4, 8) . Charles the first believed in the divine right of kings those chosen by God to rule. Why would parliament oppose this idea i need help please help me