Write an IF…ELSE program that computes the new salary for Ann, the Chief Information Officer of ABC Company. Ann’s current salary is $92,000 a year, and she has worked at ABC for four years. Please note the following: one-year employees get a 2 percent raise two-year employees get a 3 percent raise three-year employees get a 4 percent raise four-year employees get a 5 percent raise five-year employees get a 6 percent raise What is Ann’s new salary?


I’ll make you the brainless if you can help me plz

Answers

Answer 1

In python 3.8:

salary = 92000

years = 4

if years == 1:

   salary += (salary*0.02)

elif years == 2:

   salary += (salary * 0.03)

elif years == 3:

   salary += (salary *0.04)

elif years == 4:

   salary += (salary*0.05)

elif years >= 5:

   salary += (salary*0.06)

print(salary)

If we run this code, Ann's new salary will be 96600.


Related Questions

Nina is learning about clouds in her science class so she puts the phrase "types of clouds" in a search engine. In which step of a crawler-based search engine is this phrase most important?

A) indexing

B) crawling

C) ranking

D) retrieving

Answers

Answer: d. Retrieving

Explanation:

A crawler-based search engine is a type of search engines whereby a "crawler" or "spider' is used in searching the Internet. The function of the spider or the crawler is to help dig through the web pages, and then pull out the keywords relating to what the person typed in the search engine. Examples include Yahoo and Google.

Based on the information given in the question, the step of a crawler-based search engine that this phrase is most important is the retrieving stage. At that stage, the person is trying to get some information relating to what was typed in the search engine.

8.7 Code Practice Question 3
Use the following initializer list:
w = [“Algorithm”, “Logic”, “Filter”, “Software”, “Network”, “Parameters”, “Analyze”, “Algorithm”, “Functionality”, “Viruses”]

Create a second array named s. Then, using a loop, store the lengths of each word in the array above. In a separate for loop, print on separate lines the length of the word followed by the word

Answers

I included my code in the picture below.

The for loop that can be used to loop through the array s and get the length and the word is a follows:

s = ["Algorithm", "Logic", "Filter", "Software", "Network", "Parameters", "Analyze", "Algorithm", "Functionality", "Viruses"]

for i in s:

   print(len(i), ":", i)

The variable s is used to store the array of strings

The for loop is used to loop through the array .

The length of each string and the string is printed out.  

When the code is run, you will get exactly like the sample Run.  

learn more: https://brainly.com/question/23800781?referrer=searchResults

Consider the following instructions for a game element: Move Forward If not at end, move forward Else stop This is an example of which type of programming structure? A Iteration B Looping с Selection D Object OPEN​

Answers

Answer:

C.

Explanation:

(JAVA PLS)

Your job in this assignment is to write a program that takes a message as a string and reduces the number of characters it uses in two different set ways. The first thing your program will do is ask the user to type a message which will be stored as a String. The String entered should be immediately converted to lowercase as this will make processing much easier. You will then apply two different algorithms to shorten the data contained within the String.

Algorithm 1

This algorithm creates a string from the message in which every vowel (a, e, i, o, and u) is removed unless the vowel is at the very start of a word (i.e., it is preceded by a space or is the first letter of the message). Every repeated non-vowel character is also removed from the new string (i.e., if a character appears several times in a row it should only appear once at that location). So for example the string "I will arrive in Mississippi really soon" becomes "i wl arv in mssp rly sn".

After applying this algorithm, your program should output the shortened message, the number of vowels removed, the number of repeated non-vowel characters removed, and how much shorter the shortened message is than the original message. The exact format in which the program should print this information is shown in the sample runs.

Algorithm 2

This algorithm creates a string by taking each unique character in the message in the order they first appear and putting that letter and the number of times it appears in the original message into the shortened string. Your algorithm should ignore any spaces in the message, and any characters which it has already put into the shortened string. For example, the string "I will arrive in Mississippi really soon" becomes "8i1w4l2a3r1v2e2n1m5s2p1y2o".

After applying this algorithm, your program should output the shortened message, the number of different characters appearing, and how much shorter the shortened message is than the original message. The exact format in which the program should print this information is shown in the sample runs.

Sample Run 1
Type the message to be shortened
This message could be a little shorter

Algorithm 1
Vowels removed: 11
Repeats removed: 2
Algorithm 1 message: ths msg cld b a ltl shrtr
Algorithm 1 characters saved: 13

Algorithm 2
Unique characters found: 15
Algorithm 2 message: 4t2h2i4s1m5e2a1g1c2o1u3l1d1b2r
Algorithm 2 characters saved: 8
Sample Run 2
Type the message to be shortened
I will arrive in Mississippi really soon

Algorithm 1
Vowels removed: 11
Repeats removed: 6
Algorithm 1 message: i wl arv in mssp rly sn
Algorithm 1 characters saved: 17

Algorithm 2
Unique characters found: 13
Algorithm 2 message: 8i1w4l2a3r1v2e2n1m5s2p1y2o
Algorithm 2 characters saved: 14

Answers

import java.util.Scanner;

public class JavaApplication54 {

   public static int appearance(String word, char letter){

       int count = 0;

       for (int i = 0; i < word.length(); i++){

           if (word.charAt(i) == letter){

               count++;

           }

       }

       return count;

   }

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Type the message to be shortened");

       String message = scan.nextLine();

       message = message.toLowerCase();

       int volCount = 0, repCount = 0, num = 0;

       char prevC = ' ';

       String vowels = "aeiou";

       String newMessage = "";

       for (int i = 0; i < message.length(); i++){

           char c = message.charAt(i);

           

           if (vowels.indexOf(c) != -1 && prevC == ' '){

               newMessage += c;

           }

           else if (vowels.indexOf(c) == -1 && prevC != c){

               newMessage += c;

           }

           else if (vowels.indexOf(c) != -1){

               volCount ++;

           }

           else{

               repCount++;

           }

            prevC = c;

       }

       System.out.println("Algorithm 1");

       System.out.println("Vowels removed: "+volCount);

       System.out.println("Repeats removed: "+repCount);

       System.out.println("Algorithm 1 message: "+newMessage);

       System.out.println("Algorithm 1 characters saved: "+(message.length() - newMessage.length()));

       

       String uniqueMessage = "";

       

       for (int i = 0; i<message.length(); i++){

           char w = message.charAt(i);

           if (uniqueMessage.indexOf(w)== -1 && w!=' '){

               uniqueMessage += appearance(message,w)+""+w;

               num++;

           }

       }

       System.out.println("Algorithm 2");

       System.out.println("Unique characters found: "+num);

       System.out.println("Algorithm 2 message: "+uniqueMessage);

       System.out.println("Algorithm 2 characters saved: "+(message.length() - uniqueMessage.length()));

   }

   

}

I hope this helps!

How are computer networks connected?

Answers

Answer:Computer networks connect nodes like computers, routers, and switches using cables, fiber optics, or wireless signals. These connections allow devices in a network to communicate and share information and resources. Networks follow protocols, which define how communications are sent and received.

Explanation.

hope this helped you find what your looking for

Computer networks connect nodes like computers, routers, and switches using cables, fiber optics ,or wireless signals. These connections allow devices in a network to communicate and share info and resources

Dr. Thomas likes to follow up with her patients to make sure they were happy with their care. She sends all patients an email encouraging them to call her office with any questions or to schedule future appointments. Dr. Thomas chooses email as the for this communication.

Answers

Answer:

lean media

Explanation:

Dr. Thomas uses email as a medium of lean media to convey messages.

Lean media may be defined as the source of conveying messages that are short or of lean capacity. It is meant for instant messages and message and information that is not considered to be of out most importance. Whereas a rich media is a video chat or face to face communication.

Dr. Thomas send emails to her patients to follow up with them and also encourages her patients to call her for appointments or any questions. She uses email as a source of lean media for this communication.

Answer:

lean media

Explanation:

How can goal setting help with academic performance?
a) it helps you focus on what needs to be done.
b) it is an effective study skill.
c) writing goals down makes them happen
d) they help you understand content better

Answers

Im pretty sure the answer is b.

How does Python recognize a tuple?

You use brackets around the data values.
You use parentheses around the data values.
You declare myTuple to be a tuple, as in "myTuple = new tuple".
You use tuple when you create it, as in "myTuple = tuple(3, 5)".

Answers

Answer:

B) You use parentheses around the data values

Explanation:

It was C) on my end, but the answer is still the same :)

Python recognizes a tuple if you declare myTuple to be a tuple, as in "myTuple = new tuple". The correct option is C.

What is python?

Python is a popular computer programming language used to create software and websites, automate processes, and analyze data. Python is a general-purpose language, which means it may be used to make many various types of applications and isn't tailored for any particular issues.

Python is frequently considered as one of the simplest programming languages to learn for novices. Python is a wonderful place to start if you're interested in learning a programming language. In addition, it is one of the most popular.

Therefore, the correct option is C, You declare myTuple to be a tuple, as in "myTuple = new tuple".

To learn more about python, refer to the link:

https://brainly.com/question/18502436

#SPJ2

Which rules should be remembered when creating formulas using nested functions? Check all that apply.
Use an equal sign at the beginning of the formula.
Use open and close parenthesis for each set of nested functions.
Use an equal sign before each function.
All arguments should be in CAPS.
Functions should be in CAPS.
Separate functions with commas.

Answers

Answer:

Use an equal sign at the beginning of the formula (A)

Use open and close parenthesis for each set of nested functions (B)

Functions should be in CAPS

Separate functions with commas

Explanation:

Answer:

A

B

E

F

Explanation:

Look at the slide.

An example of a slide. There is a title. There is one main bullet entry with 3 subentries below it. There is a lot of text on the slide. There is no image. The background is dark red and the text is black.

How could the slide best be improved?

by choosing a better font
by providing more information
by using a lighter background
by enlarging the heading

Answers

Answer:

c

Explanation:

Answer:

the answer is c

Explanation:

100%

Because all residential electrical outlets are never used at the same​ time, the NEC​® allows a diversity or____ nothing to be used when sizing the general lighting load for electric services.

Answers

Answer:

Conincident factor        

Explanation:

Coincident factor is derived as the Maximum Demand of System divided by the Sum of Individual maximum Demands.

Diversity factor is the proportion or percentage of the total of the peak demands of each unit within the various subdivisions of a system in relation to  the total demand of the  whole system, or any section of the system.

After calculating the diversity factor the result must be greater than 1.

Cheers

The coincident factor is calculated by dividing the system's maximum demand by the sum of constituent maximum demands.

This diversity factor is the percentage or proportion of peak demand of each unit within the various divisions of a system in proportion to the overall demand of the overall network or any segment of the network.This result of computing the diversification factor has to be higher than 1.Since all household plug sockets are seldom operated at the same time, the NEC enables a diversity or coincidental factor to be used when measuring the general illumination load for electric services.

Therefore, the final answer is "coincident factor".

Learn more:

brainly.com/question/12579961

The code below is repetitious. What is the output of this program?
num = 3
num = num + 1
num = num + 1
num = num + 1
print(num)

Answers

Answer:

6

Explanation:

Answer:

6

Explanation:

Edge 2021

Which of the following is something that an Information Technology (IT) professional would do?


Collect and utilize data


Create and improve software


Manage grades and enrollments


Build and repair computers

Answers

Answer:

Probably the last one, build and repair computers.

What is the next line?
>>> aDeque = deque('happy')
>>> aDeque.append('me')
>>> aDeque

deque(['happy', 'me'])
deque(['h', 'a', 'p', 'p', 'y', 'me'])
an error statement
deque(['happyme'])

Answers

Answer:

deque(['h', 'a', 'p', 'p', 'y', 'me'])

Explanation:

Answer:  B)deque(['h', 'a', 'p', 'p', 'y', 'me'])

Explanation:

Edge2021

4.8 code practice question 2

Answers

Answer:

Written in Python

for count in range(88, 42,-2):

    print(count,end=' ')

Explanation:

The programming language is not stated.

However, I used python to answer the question.

First, we need to loop from 88 to 44 with a difference of -2 in each term.

This is implemented as

for count in range(88, 42,-2):

Which means to start at 88 and ends at 42 - (-2) which is 44 with an increment of -2

Next, is to print the current iterating value;

This is implemented using print(count)

However, since all values are to be printed on a line, there's a need t modify the statement as: print(count,end=' ')

Choose the correct item. Check your answers in the text.
3​

Answers

Answer:

You should do that

Explanation:

You didnt say anything

Complete the sentence.

A security program must be user-friendly and ensure employers and customers are ______
to use the security measures

1.) afraid
2.) encouraged
3.) discouraged

Answers

Answer 2.) encouraged

Which of the following would most likely be the target audience for a product
advertised on TV during Saturday morning cartoons?
A. Young adults between the ages of 17 and 25
B. Children between the ages of 5 and 12
C. Men over the age of 65
D. Women over the age of 50

Answers

Answer:

B

Explanation:

They are saturday morning cartoons. Saturday morning cartoons are meant towards an audience of young children.

I think its b if i get wrong i sorry

Which are examples of basic text structures? Check all that apply.

chronological order
random order
order of importance
comparison and contrast
cause and solution

Answers

Chronological order
Comparison

Answer:

B, D, E.

Explanation:

Which are some examples of transitional words?

look, prepare, send
next, then, finally
can't, won't, wouldn't
if, even, all

Answers

Answer:

then,next,finally

.............

Next,then,finally :).

What are the key components to planning a presentation?
Check all that apply:
audience
conclusion
methods
purpose
thesis
title
topic

Answers

1,3,4,7 just took on edge

Answer:

1 3 4 7

Explanation:

Next, let's examine what happens when you apply a style to an element that contains other elements. The body element in the HTML file contains all the elements that are displayed. Clear the existing code from the style sheet, and set the color of the body element to green. Write the code for the style change and record what you observe.

Answers

Answer:

When the body element CSS color style was changed, The color of all the text in the HTML file changed to the specified color, the same goes for font-size, font-weight, etc.

Explanation:

HTML or hypertext markup language is a markup language used in web development to implement the position and structure of the web page. It has no style, so, CSS or cascading style sheet is used to style the HTML elements in the web page.

Is a MODEM required for Internet Connectivity ?
Yes
No

Answers

Answer:

you can connect to the wifi on your device it will say you are connected but the wifi will not be connected to the internet so you will be able to do nothing on it without the modem

Explanation:

Answer:

NEED modem between the cable and your computer. No modem, no Internet.

The Answer is NO

what is the purpose of the domain name system

Answers

Answer:

The Domain Name System (DNS) is a central part of the internet, providing a way to match names (a website you're seeking) to numbers (the address for the website). Anything connected to the internet - laptops, tablets, mobile phones, websites - has an Internet Protocol (IP) address made up of numbers.

Explanation:

The Domain Name System (DNS) is a hierarchical and decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates more readily memorized domain names to the numerical IP addresses needed for locating and identifying computer services and devices with the underlying network protocols. By providing a worldwide, distributed directory service, the Domain Name System has been an essential component of the functionality of the Internet since 1985.

The Domain Name System delegates the responsibility of assigning domain names and mapping those names to Internet resources by designating authoritative name servers for each domain. Network administrators may delegate authority over sub-domains of their allocated name space to other name servers. This mechanism provides distributed and fault-tolerant service and was designed to avoid a single large central database.

Write a program in QBASIC to display the first 10 numbers of the fibonacci series:
0,1,1,2,3,5,... up to 10 terms.

(Hint- Take the first two numbers 0 and 1. Now obtain the next number by adding them. For example:0+1=1)

Answers

Answer:

#include<iostream>

using namespace std;

int main()

{

int a=0,b=1;

int i,c;

cout<<a<<" "<<b<<" ";

for(i=3;i<=10;i++)

{

 c=a+b;

 cout<<c<<" ";

 a=b;

 b=c;

}

return 0;

}

Explanation:

Write at leaat 20 shortcuts on the Microsoft word.​

Answers

Answer:

Open a document: Ctrl + O.

Create a new document: Ctrl + N.

Save the current document: Ctrl + S.

Open the Save As window: F12.

Close the current document: Ctrl + W.

Split the window: Alt + Ctrl + S.

Copy: Ctrl+C

Paste: Ctrl+V

Cut the current selection: Ctrl + X

Copy the current selection: Ctrl + C

Paste the contents of the clipboard: Ctrl + V

Bold: Ctrl + B

Italics: Ctrl + I

Underline: Ctrl + U

Underline words only: Ctrl + Shift + W

Center: Ctrl + E

Make the font smaller: Ctrl + [

Make the font bigger: Ctrl + ]

Change text to uppercase: Ctrl + Shift + A

Change text to lowercase: Ctrl + Shift K

Insert a page break: Ctrl + Enter

Add a hyperlink: Ctrl + K

Explanation:

A secure website has https instead of http in web address true or false

Answers

Answer:

True

Explanation:

https has SSL which http doesn't. SSL encrypts your information so your connections are secured. Therefore websites with https are more secure.

explain logic circuit​

Answers

Computers often chain logic gates together, by taking the output from one gate and using it as the input to another gate. We call that a logic circuit. Circuits enables computers to do more complex operations than they could accomplish with just a single gate. The smallest circuit is a chain of 2 logic gates.

Logic circuits include such devices as multiplexers, registers, arithmetic logic units (ALUs), and computer memory, all the way up through complete microprocessors, which may contain more than 100 million gates. In modern practice, most gates are made from MOSFETs (metal–oxide–semiconductor field-effect transistors).

PLS HURRY!!! Look at the image below!
The choices for the second part are number +1, number, number -1

Answers

1. <1

2. -1

Explanation:

The introduction of an academic paper must include a:

A) thesis statement

B)transition sentence

C) quotation

D) restatement

Answers

Answer:

A

Explanation:

The introduction of an academic paper must include a: Thesis Statement

Answer:

A.) Thesis Statement

Explanation:

You should start with a thesis statement that way your audience knows what your paper will be about. It makes a claim, directly answering a question.

Hope this helped♥

Other Questions
I want to know the answer What are some things Thomas Jefferson did to encourage farming? (1 point) a He gave land to settlers in exchange for harvested crops. b He cut taxes and encouraged colonists to settle in the east. c He cut military expenses and reduced the government's debt. d He cut prices on public lands and offered credit for land purchases. Several alternatives are under consideration to enhance security at a county jail. Since the alternatives serve different areas of the facility, all that are economically attractive will be implemented. Determine which one(s) should be selected, based on a B/C analysis using an interest rate of 7% per year and a 10-year study period. Extra Cameras (EC) New Sensors(NS) Steel Tubing (ST) Access Control (NS) First Cost, $ 38,000 87,000 99,000 61,000M & O, $/year 49,000 64,000 42,000 38,000Benifits $/ year 110,000 160,000 74,000 52,000Disbenefits, $/year 26,000 21,000 32,000 14,000 How are you? What do you think of yourself? How can you improve your happiness? (If at MAX Happy Meter bar, What would make your friend happy?) Teaching is the sweetest thing the points (3, 17) and (1, 15) fall on a particular line. What is its equation in slope-interceptform? How does Adyashanti come across as a speaker and what is the focus of his message? on the video what is truth. The next question refers to the written dialogue that follows. The paragraphs have been numbered to help you identify them more easily.Ellie sighed as she petted her cat. I cant believe this storm, she said. We should be surfing, and were stuck on the couch!Well just have to figure out something else to do. said Sam.Ive got it! shouted Ellie. If we leave now, we can see the new surf film at noon then hit the surf museum and look at old surfboards.Youre pretty smart for a little sister, said Sam. Ill ask mom if we can borrow the car!Which paragraph features dialogue that reveals information about the setting? Paragraph 1 Paragraph 2 Paragraph 3 Paragraph 4 HELP FOR A BRAINLIEST! What would be a lasting consequences of Chief Justice John Marshalls decision? A. The federal government must follow the Constitution strictly and does not have any room to expand its power.B. The federal government can expand their constitutional powers if it leads to an expressed power. C. Only the Supreme Court has the authority to expand the powers of the federal government. D. Under the constitution, the federal government has the power to establish a bank but not collect taxes. What happened to the empire of Alexander the Great after his death?A. It fell back to the rule of the conquered people.B. It became a democracy.C. It was inherited by his son.D. It was divided between his generals. the modern united kingdom and france, by virtue of most, government power being held by the central, national government, are best described as having which form of government? How did George Washington as president increase the federal governments powera.he refused to protect state governments from rebellionsb.he approved higher federal taxes on the statesc.he shut down all banks other than the bank of the United Statesd.he banned immigrants from serving in governmenthelp ASAP Bill claims that he found the actual December temperature by adding either 5 + 3 or 3 + 5. Became powerful and corrupt Find the equation of the line that has a slope of -3/4 and a y-intercept of 1 When all else fails, what is the BEST type of concrete detail to use in your writing?A) statisticsB) anecdote/personal/experienceC) textual evidence/quote how do I surprise my mom with a special guest and get her to make extra dinner for them so that they can eat with us to without telling her that the special guest is coming HURRY ASAP If you are dividing a three digit even number by two but you ever get a remainder Bargain DVDs cost $5 each at Mega Movie. a. Graph the proportional relationship that gives the cost y in dollars of buying x bargain DVDs A poem relles on which of the following?O all except plotthemeimageso plotemotion