Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours that they work. The employee earns overtime, $30 an hour, for each hour they work above 40 hours. Example: If an employee works 60 hours in a week, they would earn $20/hr for the first 40 hours. Then they would earn $30/hr for the 20 hours they worked overtime. Therefore, they earned: ($20/hr * 40hrs) + ($30/hr * 20 hrs) = $800 + $600 = $1400 total. For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee’s weekly paycheck.

Answers

Answer 1

Answer:

something like that

Explanation:

static bunch of krap main (args) {

    double hours;

    double salary;

    double overSalary;

   print("Enter hours worked: ");

   scan(hours);

    if (hours <= 40) {

       salary = 20 * hours;

    }

    if (hours > 40) {

       overSalary = 30 * (hours - 40);

       salary = 20 * 40 + overSalary;

     }

   

    print(salary);

}

Answer 2

In this exercise we have to use the knowledge of python to write a salary function, as follows:

the code is in the attached image.

In a more easy way we have that the code will be:

static bunch of krap main (args) {

   double hours;

   double salary;

   double overSalary;

  print("Enter hours worked: ");

  scan(hours);

   if (hours <= 40) {

      salary = 20 * hours;

   }

   if (hours > 40) {

      overSalary = 30 * (hours - 40);

      salary = 20 * 40 + overSalary;

    }

   print(salary);

}

See more about python at brainly.com/question/26104476

Problem: A Company Wants A Program That Will Calculate The Weekly Paycheck For An Employee Based On How

Related Questions

Lewis wrote an informational academic paper about deer. He rereads his work and is starting to revise for academic voice.

Which sentence needs to be revised for an academic voice?

The buck, or male deer, is a noble animal that has great speed.
Deer enjoy corn, but they get most of their nutrition from grass.
Some people think they can tame deer, but I just don’t buy it.
Deer tend to be extremely nervous and dash away when startled.

Answers

Answer: C. Some people think they can tame deer, but I just don’t buy it.

Answer:

The answer is C

Explanation:

Hope this helped! :)

buying a good computer you should consider what?​

Answers

I recommend a Samsung or Chromebook both good conputers

Select the correct answer.

Eva wants to convert a Lisp file into machine code by interpreting only a single line of code at a time. Which of these can help Eva with her work?

A.
interpreters

B.
output device

C.
compiler

D.
memory

E.
operating system

Answers

The program which would help Eva convert a Lisp file into machine code by interpreting only a single line of code at a time is: A.  interpreters

Interpreters can be defined as computer software programs that are designed to translate (interpret) a programming language (code) into machine code, especially by interpreting only a single line of code at a time.

Hence, an interpreter executes the instructions that are written in a programming language (code) one after the other (instruction by instruction), before it translate (interpret) the next line of code.

On the other hand, a compiler takes the entire program (code) and interprets them.

In conclusion, an interpreter can help Eva convert a Lisp file into machine code by interpreting only a single line of code at a time.

Rea d more: https://brainly.com/question/21130620

4. When working at the CLI in Linux, you specify the exact location of a file, which is the ____________________ to it, by beginning with a forward slash (/) to indicate the root directory.

Answers

Command line interface is used in form of a messenger conversation with your computer. You specify the exact location of a file, which is the pwd to it.

The Command Line Interface (CLI), is said to be a non-graphical, text-based interface attached to the computer system.

It is where the user input in a command and the computer then successfully executes it.

The Terminal is known to gives the command line interface (CLI) environment to the user.

The pwd command is simply known to be used in determining an exact folder location or path in Terminal.

Learn more from

https://brainly.com/question/25435538

What are the main approaches for dealing with deadlock?

Answers

Answer:

Deadlock ignorance

Deadlock prevention

Deadlock avoidance

& Detection and recovery

Hope This Helps!!!

You have been elected to assist the school's yearbook committee and newspaper club in purchasing new computers. The current computers for both organizations are located in the school's secondary computer
lab. Your job is to help students understand how to use the new computers that were purchased.

Which stage of the computer life cycle are your duties associated with?
A) Deploying computers
B) Retiring computers
C) Supporting and upgrading
D) planning for and purchasing equipment

Answers

Answer:

A) Deploying computers

Explanation:

Just took the quiz :)

The process of redefining the functionality of a built-in operator, such as , -, and *, to operate on programmer-defined objects is called operator _____. a. overriding b. overloading c. initializing d. testing

Answers

It should be noted that the process of redefining the functionality of a built-in operator to operate is known as operator overloading.

Operator overloading simply means polymorphism. It's a manner in which the operating system allows the same operator name to be used for different operations.

Operator overloading allows the operator symbols to be bound to more than one implementation. It's vital in redefining the functionality of a built-in operator to operate on programmer-defined objects.

Read related link on:

https://brainly.com/question/25487186

How can the information from a phr be shared

Answers

Answer:

Patients can decide whether to share their information with providers, family members or anyone else involved in their care. Patients can access their records in a tethered PHR through a secure portal.

Patients can decide whether to share their information with providers, family members or anyone else involved in their care. In some cases, a stand-alone PHR can also accept data from external sources, such as laboratories or providers.

Gilbert has an Excel spreadsheet open in Tableau. What did Gilbert have to do to bring the spreadsheet into Tableau?

Answers

Tableau is said to mainly connects to Excel spreadsheets to make data analysis fast and easy. What Gilbert have to do to bring the spreadsheet into Tableau is that He is to connect to an outside data source.

Tableau is often used as a form of connection to Excel spreadsheets so as the data analysis very simple.

It gives room for Excel users to keep their spreadsheets even when they are polishing their ability to analyze their data, while giving simple to build, simple to read visualizations that shows information boldly.

See full question below

Gilbert has an Excel spreadsheet open in Tableau. What did Gilbert have to do to bring the spreadsheet into Tableau?

Select an answer:

A. He moved the Excel spreadsheet onto the Tableau server, and then opened it in Tableau.

B. He connected to an outside data source.

C. He dragged and dropped the file into Tableau.

He duplicated the data in Tableau.

Learn more from

https://brainly.com/question/22908883

4. Let's continue with Amber. Once she began, she realized that she was short on
time so she simply skipped her opening slides. Feeling a bit frazzled, Amber began
reading from slide 7. Why do you think that this would not be Amber's best strategy?

Answers

Answer:

because she could miss important information

Answer:

I think that this would not be the best strategy as she could miss vital information in the opening which may not be a lot but packs a punch within how your presentation is gonna go so the audience can gouge you out and your style.

Explanation:

Because

What are the chances of a baby zombie to spawn in full golden armor in MC? ​

Answers

Answer:

Baby Zombies can spawn naturally in the Overworld, but they only have a 5% chance to spawn. The player can also spawn one with a Zombie Spawn Egg. Baby Zombies can also be found riding a Chicken, creating a Chicken Jockey.

Explanation:

It is very unlikely for a baby zombie to appear wearing shiny golden armor.

Why is this so?

It is not common for a zombie to appear with armor, and it is even rarer for a baby zombie to wear a full set of golden armor.

The chance of this event happening is different for each version and if any changes have been made to the game. However, in the regular MC with no changes, the chances are usually low.

Learn more about MC

https://brainly.com/question/20307830

#SPJ2

Jayda started a corporation that creates software products for clients. Which statement correctly reflects Jayda’s position in the corporation?

Answers

Answer:

She is the Founder and Owner of the corporation. She would also most likely be the CEO if she hasn't hired anyone else.

Which of the following is not an artificial intelligent technology?

Speech recognition

Text analytics and NLP

Computer vision

Robotic desktop automation

None of the above

Answers

Robot desktop automation

Enter a formula in the selected cell to display the owner's draw percentage (cell B6).

Answers

The formula is an illustration of Excel formulas, and Excel formulas are used to operate on values in a cell or a range of cells

Formula in the selected cell to display the owner's draw percentage is =B6

How to write the formula?

From the question, the owner's draw percentage is in the cell B6.

To enter the formula, we simply enter the name of the cell (i.e. B6)

So, we have:

B6

Excel formulas begin with the equal to "=" sign,

So, we have:

= B6

Hence, the formula is = B6

Read more about Excel formulas at:

brainly.com/question/17566733

Which of the following does a secure website use to safeguard transmitted information

Answers

Answer:encryption

Explanation:

because you can hack encrypted things well not so easily

Encryption is a secure website used to safeguard transmitted information. The correct option is C.

What is encryption?

The process of converting information into a secret code that conceals its true meaning is known as encryption.

Cryptography is the study of information encryption and decryption. In the world of computers, ciphertext refers to encrypted data and plaintext to unencrypted data.

By converting the message's content into a code, encryption serves as a confidentiality tool. Integrity and authenticity are the goals of digital signatures.

They serve to confirm the message's source and show that the content hasn't been altered.

In the process of encryption, ordinary text, such as a text message or email, is scrambled into "cypher text," which is an unintelligible format. Secure websites utilise encryption to protect sent information.

Thus, the correct option is C.

For more details regarding encryption, visit:

https://brainly.com/question/17017885

#SPJ6

Your question seems incomplete, the missing options are:

A) A lock icon

B) The http protocol

C) Encryption

D) Digital certificate

The _______ margin is the one required for APA formatted papers.

Answers

Answer:

1-inch

Use 1-inch margins on every side of the page for an APA Style paper. However, if you are writing a dissertation or thesis, your advisor or institution may specify different margins (e.g., a 1.5-inch left margin to accommodate binding).

Explanation:

What is the distinct functionality of WPS writer? (distinct means wala ang functionality na iyon sa ibang word processors :))​

Answers

Answer:

WPS Office' Writer gives you a handful of unique features that can enhance your productivity, such as efficient cloud integration, ability to convert PDF to Word, exporting the document to a picture, picture to text, making backups, inserting watermarks, and more

Works with Windows, Linux, Mac, Android, and iOS, and can also be used directly from a browser

The installer includes other software you can optionally add to your computer, like WPS Spreadsheets and WPS Presentation

Common formatting is allowed, such as organizing data in columns, changing the orientation of the page, aligning text and objects, adding a header and footer, overlaying a watermark, and using heading styles

Encryption is supported, which means when you save a document you can choose a custom encryption type and a unique password for opening the document, and another for modifying it

Define the following solider​

Answers

What soldier can you show me a picture?

GameStop’s best Black Friday deals: games, accessories, and more
11/25/2021 7:00 PM EST

Answers

Answer:

what is the question or are you just spreading news

Explanation:

Need help with c++ coding
Simple program MUST USE two one-dimensional arrays. One to store last name and one to store grades.

Please help I’m so lost. I don’t understand arrays at all.

Answers

Answer:

h8 3h73oodn4

Explanation:

What is it called when you plan out and take control of the amount of time that you spend on activities in order to increase effectiveness, efficiency, and productivity? A time management. B supply stocking. C calendar organization. D ergonomics.​

Answers

Answer:

time management A for Sure

A user tries to open a movie in Windows Media Player but no image is displayed and only audio plays Which software must be installed on the computer?​

Answers

There are software that are often installed in systems for audio player. The software must be installed on the computer is Codec.

Codec is simply refered to as a short form for the word coder-decoder. It is known as an algorithm that is often used when encoding data. Example an audio or video clip.

The encoded data is often decoded as it is played back.

It act by limiting the size of media file and it also increases the processing power that is needed to play the file back correctly.

Learn more from

https://brainly.com/question/14338673

. Circle the correct choice for each statement 1. The number of substances in a mixture (can - cannot) be varied, for a compound they (can - cannot). 2. The different substances in a mixture (can - cannot) be joined chemically; a compound (can - cannot). 3. Substances in a mixture (do - do not) keep their own properties. 4. Substances in a compound (can - cannot) be easily separated; in a mixture, they (can - cannot). 5. Examples of (mixtures - compounds) are air, sea water, and most rocks. 6. Examples of (mixtures - compounds) are water, salt, and sugar. 7. Compounds are made of elements and have a (physical – chemical) formula. 8. A (solvent - solute) is the substance that dissolves in another substance. 9. True or False: A mixture cannot have five substances. 10. True or False: In a suspension, a substance may sink to the bottom.

Answers

Answer:

1 cannot

can

2 can

cannot

3 do not

4 can

cannot

5

A 5G network will have the following advantages over a 4G network: a. Overall network support and operations costs are reduced, new applications can be made available sooner, and the risk of human error is reduced. b. Ability to support more concurrent devices, minimal infrastructure changes, and lower latency. c. Lower latency, greater bandwidth, and ability to support more devices. d. Ability to support exciting new applications, greater bandwidth, and improved security

Answers

A 5G network will have the following advantages over a 4G network except that C. Lower latency, greater bandwidth, and ability to support more devices.

A 5G network simply means the 5th generation mobile network. It enables a new kind of network that is designed to connect everyone and devices.

The advantages of a 5G network over a 4G network include lower latency, greater bandwidth, and the ability to support more devices.

Read related link on:

https://brainly.com/question/25530245

What is a characteristic of a magnetic reed switch?
Select one:
a. Switch contacts that are not enclosed
b. Bigger size than mechanical switches
C. High sensitivity to magnetic fields
d. Very high voltage flows through contacts

Answers

Answer:

option D is correct answer

Explanation:

Very high voltage flows through contacts.

hope this helps you

The answer is D.
Explanation:N/A

The mean of a sequence of n numbers is m. If we split the sequence into two sequences of lengths n1 and n2 and compute their means m1 and m2, which of the following is TRUE?

The mean of a sequence of n numbers is m. If we split the sequence into two sequences of lengths n1 and n2 and compute their means m1 and m2, which of the following is TRUE?

Answers

The mean of a sequence of numbers is the average.

The true statement is: [tex]\mathbf{mn = m_1n_1 + m_2n_2}[/tex]

The given parameters are:

[tex]\mathbf{Mean=m}[/tex]

[tex]\mathbf{Size=n}[/tex]

The mean of a dataset is calculated as:

[tex]\mathbf{Mean = \frac{Sum}{Count}}[/tex]

So, we have:

[tex]\mathbf{m = \frac{Sum}{n}}[/tex]

Multiply both sides by m

[tex]\mathbf{Sum = mn}[/tex]

When the sequence is split into two, we have:

[tex]\mathbf{\sum x_1 = m_1n_1}[/tex]

[tex]\mathbf{\sum x_2 = m_2n_2}[/tex]

Where:

[tex]\mathbf{Sum = \sum x_1 + \sum x_2}[/tex]

So, we have:

[tex]\mathbf{mn = m_1n_1 + m_2n_2}[/tex]

Hence, the true statement is: [tex]\mathbf{mn = m_1n_1 + m_2n_2}[/tex]

Read more about mean and averages at:

https://brainly.com/question/25421763

Select the three acronyms that stand for types of area storage devices.


NAS

SAS

VMWARE

WORD

RAID

Answers

Answer:

RAID = Redundant Array of Independent Disks

NAS = Network Attached Storage

SAS = Statistical Analysis System

What are the tools in creating an animation?

Answers

I will list tools you can use

Flipaclip

Regular a flip book with a pen and lots of paper sheets

I prefer twelve frames per second

and more tools

Capcut

Kinemaster

And search up on your main brower for lots of more info hoped this prepped you up a bit!

Best sustainable practices for delivering digital technologies to clients

Answers

Answer:

Recommend the client spread out their data centers to distribute energy usage globally.

Explanation:

Have a great day!

The technology can be made sustainable by asking clients to spread the data centers and by sustainably incorporating the design.

What are sustainable practices?

Sustainable practices are the approach that uses technology with respect to the protection of the environment. The social, economic, and environmental balances are established when sustainable computational technologies are implemented.

This practice allows the client to spread the centers and applications globally on a large scale and can be accomplished by building the software once and should avoid redeveloping.

Therefore, to distribute the energy the data centers must be established.

Learn more about computational sustainability here:

https://brainly.com/question/26133975

#SPJ2

What are software applications?

Answers

Answer:

the first option is obviously the correct answer

Other Questions
plz help i will get a f if i dont get it right pepsinogen is produced by __________ and is activated by __________, which is secreted by __________. A line has a slope of 8 and includes the points (5,3) and (4,z). What is the value of z? Which statement about the specific immune response is FALSE?Each T or B cell has antigen receptors for only one specific antigen.T and B cells recognize antigens by using antibodies bound to their surface membranes.Unique antigen receptors are created by genetic recombination.Antigens must be presented by an MHC molecule for T and B cells to recognize them.All cells express MHC-I molecules, but only antigen-presenting cells express MHC-II molecules. Given: DE is a midsegment of C. Show all work. Find the value of x and y. What is the length of C? a path forms a diagonal of a rectangular city park. a bench is placed along the path at a point that is closest to the fountain. this point is 30 yards from one end of the path and 50 yards from the other end of the path what is the distance from the bench to the fountain to the nearest yard a) Dos nmeros enteros positivos se diferencian en 6 unidades y la suma de sus cuadradoses 260. Cules son esos nmeros? why did the founders of the united states include the ""necessary and proper"" clause? There are three systems used by states to deliver legal servicesto indigent defendants. What are these three systems, andwhat are the pros and cons of each? Consumer A consumes gasoline Rmb 200 yuan while consumer B purchases 20 liters of gasoline every time. What are the price elasticities of these two consumers? factor by grouping x^3 4x ^2 + 6x 24 Will give brainliest The closing on your ad gives details about your services.TrueFalse Need the answer to this pls why it is important that the product of mitosis are two identical daughter cells. A(n) _____ note is an obligation requiring a series of payments to the lenders. Multiple choice question. secured registered term installment What problems were solved by the economic activities conducted in the Medieval Period? If you bought 12.6 gallons of gasoline as $1.20 per gallon, how much did the gasoline cost? Taq polymerase: A. is denatured at temperatures above the normal human body temperature. B. is produced in viruses and bacteria. C. can remove the mineral deposits from rusting pipes. D. can break down the sludge in oil refinery tanks. Suppose that a department contains 8 men and 17 women. How many ways are there to form a committee with 6 members if it must have strictly more women than men