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
Sergeu [11.5K]
3 years ago
12

Write a python program that will accept monthly salary amounts greater than zero but less

Computers and Technology
1 answer:
Naily [24]3 years ago
3 0

Answer:

b=0

c=0

lol=list()

while True:

   salary=input("Enter your salary: ")

   if salary=="e" or salary=="E":

       print("Thankyou!!")

       break

   else:

       a=int(salary)

       if a>=300000 and a<=400000:

            c=c+1

       if a<0 or a>400000:

           print("Your salary is either too small or too big ")

       if a>0 and a<=400000:

           a=a-(25/100*a)-(5/100*a)-(2/100*a)

           lol.append(a)

           b=b+1

           if a>=300000:

                c=c+1

print(lol)

print("The number of salaries entered is: "+ str(b))

print("The number of salaries that exceeded 300000 is: "+str(c))

You might be interested in
What is the most effective way to demonstrate being prepared for an interview?
Arte-miy333 [17]

To prepare for an interview, find out as much as you can beforehand. Call the person who scheduled your interview and ask:

<span>Who will you be talking to? Will you meet the manager you'd work for, or will you just talk to HR? What are the interviewer's expectations?<span>What's the dress code? Dress better than suggested. Most times, it's best to wear a professional suit. You'd be amazed how many candidates show up looking like they're going to class, not presenting a professional demeanor.</span>Get directions to the office. Plan to leave early. Keep a phone number to call if you get stuck on the bus or in traffic. If you arrive late and stressed, the interview will not go well.If you don't have a detailed job description, ask for one.</span>

That's a five-minute phone call.

3 0
2 years ago
graphic designers can compress files in different formats . One of the formats ensures that the quality and details of the image
musickatia [10]

Answer:

The format that is used is: PNG

Explanation:

7 0
3 years ago
How to delete the last element in array
svlad2 [7]

Answer:

Hey mate.....

Explanation:

This is ur answer.....

<em>To remove the last n elements from an array, use arr. splice(-n) (note the "p" in "splice"). The return value will be a new array containing the removed elements.</em>

<em />

Hope it helps!

Mark me brainliest pls.....

FOLLOW ME! :)

4 0
2 years ago
How many bits are necessary for a binary representation (unsigned) of
Musya8 [376]
A. 5
b. as an unsigned int: 9. Normally a year is 365.25 days which would require 32-bits for an IEEE float.
c. 25
3 0
3 years ago
Explain what the World Wide Web is, including several tasks that can be accomplished online. Include definitions of the followin
Alja [10]

Answer:

<u>World Wide Web (WWW):</u>

The World Wide Web (WWW) or the Web, which was invented by Tim Berners-Lee in the year 1989, is an information system of internet servers containing web pages where specially formatted documents and resources, supported by Hypertext Transfer Protocol or HTTP, can be located by Uniform Resource Locators (URLs) with other hypertext links. Technical definition of the world wide web can be " all the user and resources using an HTTP protocol''.

<u>Web-page:</u>

A web page can be defined as the solitary page of a website. When a user wants to access a webpage, it can be accessed using a single URL, and that page can be copied and shared. Unlike a website, no navigation is required to view the webpage.  

It may contain text, graphics, audio, video, downloadable hyperlinks for other pages, etc. Web browsers are used to display web page content on a computer or mobile by connecting to the server. Some of these documents have to use Flash or Java to view the information.

<u>Downloading:</u>

Downloading means receiving data from a remote system to a local system or initiating any such data transfer. There are some similar remote systems from which one can download. A download can mean the process of obtaining a file that has been submitted or downloaded for downloading, or any such type of file.

<u>Website:</u>

A website is a collection of interconnected web-pages, publicly available on the Internet, that share a domain name. Exchange of information can be done by the website. It can also be used to provide entertainment, news, and education.

A website is a means of obtaining information through the Internet. Special programs are used to view websites on computers, which are called web browsers.

Websites are found on the web-server. Every website has an Internet address which is called URL. The web-browser displays the website according to this address. The web-browser uses HTTP script (HTTP) to access them.

<u>Web server:</u>

A web server is a software that serves web pages, that is, software that transmits web pages to users. This can be divided into two parts: the machine on which the web-server is installed and the software that acts as a web server. These are the first hardware and the second software.

6 0
3 years ago
Other questions:
  • Today, air travel allows large numbers of people to move quickly over long distances. Which of the following is a likely effect
    8·1 answer
  • Blogs are typically written by large companies or organizations as a way to express formal, technical, or scholarly information
    5·2 answers
  • A customer has a web server for a small business. The business uses both wired and wireless networking. A Linksys WRT300N wirele
    13·1 answer
  • Bit stream methods commonly use algorithm functions like the exclusive or operation (__________.
    11·1 answer
  • 5. The stage of engine operation when both the intake and exhaust valves are closed is the _______ stage.
    5·1 answer
  • Can a spreadsheet be filtered only by one column at a time?
    11·1 answer
  • Ad identifies and describes at least four ways to prevent downloading of spyware, adware, and viruses to computer
    9·1 answer
  • Write a function that accepts a positive random number as a parameter and returns the sum of the random number's digits. Write a
    10·1 answer
  • So I tried asking for help with my code on stackoverflow but the people there were very condescending and mean plus my questions
    7·1 answer
  • How to create drop down list in excel with multiple selections.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!