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

Ms. Miller recently performed a little experiment for her photography class. She dressed a model in a generic outfit and asked two different photographers to photograph her using the same set and lighting. The students observed that the images produced by each photographer were vastly different likely due to artistry; however, one student mentioned that something else might be at play here. What other factor MOST LIKELY caused these images to turn out so differently?

A.
the instructions Ms. Miller gave to each photographer

B.
the communication and feelings each photographer was able to evoke in the model

C.
the level of education and how much experience each photographer has

D.
time and stress levels of each photographer

Answers

Answer:

C. the level of education and how much experience each photographer has.

Despite some having degrees in film, visual art, or design, the majority of photographers are self-taught. As you earn more and more XP, you can advance through the eight levels of photography

What experience do you need to be a photographer?

There are no formal educational qualifications to become a professional photographer. Despite some having degrees in film, visual art, or design, the majority of photographers are self-taught. Many photojournalists hold journalism degrees or have a wealth of practical experience.

As you earn more and more XP, you can advance through the eight levels of photography. According to the video, the phases you'll move through as you level up are as follows: (0) Just Starting, (1) Keyboard Photographer, (2) Gear Geek, (3) The Student, (4) The Casual Snapper, (5) Hobbyist, (6) Online Legend, and (7) The Pro.

Therefore, the correct answer is option C. the level of education and how much experience each photographer has

To learn more about the level of education refer to:

https://brainly.com/question/19475756

#SPJ2

Need help with these plss correct answers
Explain the difference between linear and non-linear motion. What are examples of each kind of motion?

Imagine that an animated film is going to show a character who, although frightened, climbs a narrow mountain trail. What is one of the 12 principles of animation that you learned about in this unit that the animator might want to use in this scene?

Describe how you would use the principle of “staging” in a scene in an animated film that shows a triumphant moment in a soccer game played in a large stadium.

Describe a situation where an animator might choose to intentionally violate the principle of “slow in and slow out.”

Imagine that you had been given the task of animating a crab walking along the seashore. How would you use the animation principle of secondary action to make the scene appear more realistic?

Answers

Answer: The only thing i could find was this I hope this helps you out

Timing and Spacing: The number of frames between two poses, and how those individual frames are placed.

Squash and Stretch: The flexibility of objects to exaggerate or add appeal to a movement.

Anticipation: The setup for an action to happen.

Ease In and Ease Out: The time for acceleration and deceleration of movement.

Follow Through and Overlapping Action: The idea that separate parts of the body will continue moving after a character or object comes to a full stop, and the idea that parts of the body will move at different times.

Arcs: The principle that smooths animation and moves action in a realistic way.

Exaggeration: The pushing of movement further to add more appeal to an action.

Solid Drawing: The accuracy of volume, weight, balance, and anatomy.

Appeal: The relatability (or charisma) of a character.

Straight Ahead Action and Pose to Pose: The spontaneous and linear approach to creating an action using many in-between poses along with the main poses, and the more methodical approach to creating an action using only a few poses.

Secondary Action: The actions that emphasize or support the main action of the animation.

Staging: The setting up of the scene, from placement of characters to the background and foreground elements, to how the camera angle is set up, the lighting and shadows, and more.

Explanation:

Answer:

1. Linear motion is motion in a straight line. Non-linear motion is motion that is not in a straight line. For example when you move your pen in a line it is linear.

2. They might use something to show the mountain and show how big it is. Using effects like this can bring out certain parts and bring out what really is trying to be shown in a movie.

3. The camera angle of the soccer game and the follow with the ball being shown can give a staging looking for what is coming or what is important in that time.

4. You can use it to show how fast a car is going or to show where a person is at on a map in a 3rd person view

5. I would use Arcs because it smooths out the image or video to make whatever your trying to make look more realistic.

What is that called…. Ethetnet cable port or what !?

Answers

Answer:

The left one is a router or switch or hub (could be any as far as I see).

The right one is a satellite dish.

Explanation:

"A switch transmits data from one device to another in form of frames while a router transmits data from one network to another in form of packets. A hub transmits data from one device to another in form of binary bits." - from section.io

"A satellite dish is a dish-shaped type of parabolic antenna designed to receive or transmit information by radio waves to or from a communication satellite." - Wikipedia

Define the following solider​

Answers

What soldier can you show me a picture?

rearrange the following procedures in there proper order. use numbers (1-8) to indicate their order of precedence.
.___________crimp
.___________strip cable end
.___________test
.___________untwist wire ends
.___________trim wires to size
.___________check
.___________arrange wires
.___________attach connector​

Answers

Answer:

6 - crimp

1 - strip cable end

8 - test

2 - untwist wire ends

4 - trim wires to size

7 - check

3 - arrange wires

5 - attach connector​

Explanation:

Step 1. Strip cable by inserting into the stripping tool. Rotate the cable in a smooth and even motion to create a clean cut and pull away towards the end of the wire to remove the sheathing.

Step 2. Untwist wire ends. Separate the twisted wires and straighten them out to easily sort in the right order.

Step 3. Arrange wires. Put the wires in the correct order so they can be properly crimped.

Step 4. Trim wires to size. Use the cutting section of the crimping tool to cut them into an even line.

Step 5. Attach connector. Insert the connector so that each of the small wires fits into the small grooves in the connector.

Step 6. Crimp. Insert the connector in the crimping tool. Squeeze the handles to crimp the connector and secure the wires.

Step 7. Check. Take the connector our of the tool and look at the pins to see that they're all pushed down.

Step 8. Test. Lightly tug at the connector to make sure it's attached to the cable.

Which syntax is used to output the line "Hello" and move to a new line?

Answers

Answer: System.out.println("Hello")

calculate the speed when given the amount of 1TB to be transfer in 5hrs.

Answers

Answer:

Data transfer rate is the speed that a certain amount of data is transferred over a given period of time. You might want to know the transfer rate if you’re downloading something online or transferring data from one source to another. First, convert your units so the file size and transfer speed are in either bits or bytes with the same prefix (kilo, mega, giga, or tera). Then, plug your numbers into the equation S = A ÷ T in which A is the amount of data and T is the transfer time to solve for S, the speed, or rate, of transfer. You can also determine the amount of data or the transfer time if you know one of the variables plus the speed of transfer.

Explanation:

Interface elements include but are not limited to:

Question 3 options:

A. Navigational components, containers, interaction design


B. Input controls, navigational components, visual design


C. Input controls, informational components, containers


D. Input controls, informational components, visual design


E. Navigational components, informational components, visual design

Answers

Interface elements include but are not limited to: C. Input controls, informational components, containers.

A visual programming language is also commonly referred to as graphics user interface builder (GUI builder) and it can be defined as a programming tool that avails programmers the ability to develop software programs (applications) through the use of graphical elements and figures rather than texts alone.

Interface elements refers to the graphic tools that are used by programmers in the design of a user interface on a software program.

In Computer programming, some of the interface elements used include the following:

Input controls: it comprises buttons, radio buttons, list boxes, dropdown lists, checkboxes, text fields, toggles, date field, etc.Informational components: these are progress bar, icons, notifications, tooltips, modal windows, message boxes, etc.Containers: they are made up of accordion.Navigational components: these are slider, search field, slider, tags, pagination, breadcrumb, icons, etc.

Read more: https://brainly.com/question/19341134

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

What device do e-learning applications usually use to help users with visual
impairment read digital content?

Answers

The answer is Screen Readers.

John receives an encrypted document using asymmetric cryptography from Alex. Which process should Alex use along with asymmetric cryptography so that John can be sure that the received document is real, from Alex, and unaltered

Answers

Asymmetric cryptography is often regarded as Public-key cryptography. It often uses pairs of keys. The process that Alex should use along with asymmetric cryptography so that John can be sure that the received document is real is Digital signature algorithm.

In asymmetric cryptography, the both pair has a public key and a private key.

The Digital Signature Algorithm is simply known to be a Federal Information Processing Standard for digital signatures.

DSA as it is often called is gotten from the Schnorr and ElGamal signature schemes.

It often used for digital signature and its verification and thus shows authenticity.

Learn more from

https://brainly.com/question/13567401

TRUE OR FALSE:
To make an object "active", you click on the picture,
image, or object and it shows the bounding box.

Answers

Answer:

True

Explanation:

I just know the answer because I'm a genius hehe

Do you trust machine learning application?

Answers

Answer:

Trusting a machine learning model, in general, can be interpreted as creating a robust model which gives largely accurate results and has a high generalization ability. Classification models learn from past experience, so the robustness of a model primarily depends on the given training set

Explanation:

Hope it helps

                         Please mark as brainliest

Choose the best option to answer each question. Which output device allows a user to create a copy of what is on the screen? printer speakers earphones display or monitor

Answers

Answer: printer

Explanation:

What is the full form of eniac and univac ?

thanks!!​

Answers

Answer:

ENIAC - Electronic Numerical Integrator and Calculator. UNIVAC - Universal Automatic Computer (First Digital Computer)

Mark brilliant please

Answer:

[tex]ENIAC - Electronic \: Numerical \: \\ Integrator \: and \: Computer[/tex]

[tex]UNIVAC- Universal \: Automatic \: Computer[/tex]

What are the main approaches for dealing with deadlock?

Answers

Answer:

Deadlock ignorance

Deadlock prevention

Deadlock avoidance

& Detection and recovery

Hope This Helps!!!

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! :)

Which of the following statements describe encryption? Check all of the boxes that apply.

It turns data into cipher text.

It makes data unreadable without a decryption key.

It makes using a computer difficult.

It helps secure data.

It shares files with other computers.

Answers

Answer:

It turns data into cipher text, It makes data unreadable without a decryption key, It helps secure data.

Explanation:

I hope this helps

Answer:
A)

B)

D)

Explanation:

Edge 2022

Question 8 A data analyst is working with a data frame named stores. It has separate columns for city (city) and state (state). The analyst wants to combine the two columns into a single column named location, with the city and state separated by a comma. What code chunk lets the analyst create the location column

Answers

The programing language, R has a unite unite function in the tidyr package. Hence, the code chunk which let's the analyst create the location column is; unite (stores, "location”, city, state, sep=",")

The syntax for the unite function is ; unite(data,col,..., sep)

data = dataframe from which data is to be extracted `; stores col = name of the new column ;" location"... = dataframes to be merged ; city, statesep = seperator ; ","

Hence, the required syntax goes thus :

unite (stores, "location”, city, state, sep=",")

Learn more : https://brainly.com/question/25534959

1. A is printed at the bottom of each page.​

Answers

Answer:

b is also printed at both page

Explanation:

I need to do because c can also pri Ted at all side

hope its help you

please mark as brainliest

2. Build a MATLAB program to evaluate ln(x) between [1, 2] that guar- antees up to 10 correct decimal digits using Chebyshev interpolation. Evaluate your function on 100 points on the interval [1, 2] and calculate the absolute error fore each point using MATLAB’s log command as the exact solution. Plot your error profile. Does this agree with the expected level of accuracy?

Answers

who was the father computer

Freeze column A and rows 1 through 3 in the worksheet

Answers

The question tells us that we are dealing with an Excel Worksheet task.

The most popular workbooks are:

"MS Excel" and "G-Sheets"

The purposes of this question we will consider both.

Columns in either of the two types of worksheets mentioned above refer to the Vertical Grids which run through the sheets.

Rows on the other hand refer to the Horizontal Grids which run through the sheets. Both Columns and Rows comprise Cells.

Freezing in this sense refers to the act of ensuring that regardless of which direction the worksheet is scrolled, the frozen parts remain visible on the screen.

How to Freeze Column A and Rows 1 to 3

In "MS Excel":

Open Microsoft Excel Click on Blank WorkbookClick on Cell B4 to highlight itOn the ribbon above, click on view to display its sub-functionsselect Freeze Panes

This action will freeze the entire column A as well as Row 1 to 3. To increase the number of rows from 1-3 to 1 to 5 for instance, you'd need to return to the View Function, Unfreeze the Panes, select Cell B6 then select Freeze Panes.

In "G-Sheets"

Ensure that your computer is online, that is, connected to the internetOpen "G-Sheets"Place your mouse cursor on cell B3 and click to highlight itWith your click on View in the ribbon above. This will display the Freeze function in "G-Sheets" along with its subfunctionsSelect the "Freeze + Up to row 3".  This action will freeze Rows 1 to 3.Next, click anywhere in Column ACarry out step 4 above and select "Freeze + Up to column A"

For more about Freezing Work Sheets click the link below:

https://brainly.com/question/17194167

We have noted that there can be no input queuing if the switching fabric is n times faster than the input line rates, assuming n input lines all have the same rate. Explain why this is the case.

Answers

Consider the given data:

Assume packet length=n

Maximum queuing delay= (n–1)D

All packets are of the same length, n packets arrive at the same time to the n input ports, and all n packets want to be forwarded to different output ports.

a)  The maximum delay for a packet for the memory = (n-1)D

b)  The maximum delay for a packet for the bus = (n-1)D

c)  The maximum delay for a packet for the crossbar switching fabrics=  0

. 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 function getints has been defined that has no parameters and returns an array of integer values. The first value in the array contains the total number of items in the array (including itself). Write code (not a function or main) to: Write a prototype for getints() Call getints() From the resulting array, print the first value (after the length) and the last value, each on a separate line.

Answers

Answer:

Explanation:In the below code : Create method getints() : with no arguments and integer array return type Inside method : Declare n integer Input n Declare integer array with n length : arrInt Assign n at 0th array index Use loop from 1 to n: i counter Input arr... view the full answer

Function getints  is presented in the Prototype of the following code will be:

// Prototype

int* getints();

What is function getints?

This function requests an integer from the person using it and then returns it. You can ask for the integer using a prompt argument.

Older OSes used the C method getch() to collect user input. Depending on the function call, it only allows one input character at a time. Unless the user supplies input, the program's execution is halted.

For trhe Prototype the code will be:

// Prototype

int* getints();

For the getints the code will be:

// Call getints()

int* array = getints();

The print values will be:

// Print the first and last value

printf("The first value is %d\n", array[1]);

printf("The last value is %d\n", array[array[0]]);

Learn more about  function getints, here:

https://brainly.com/question/30928705

#SPJ2

a. In cell K11, create a formula using the DCOUNT function to count the number of projects with final costs of more than $100,000, using the data in the entire Projects table (Projects[#All]) and counting the values in the column of final costs ("Final Cost") that are equal to the values in the range J9:J10

Answers

Answer:

the data in the entire Projects table (Projects[#All]) and counting the values in the column of final costs ("Final Cost") that are equal to the values in the range J9:J10

Which famous British physicist wrote A Brief History of Time?​

Answers

Answer:

Stephen Hawking

what is the internet revolution?

Answers

The answer is B.
Hope this helps.

Answer:B

Explanation:

By using ONLY the language of C++,

How many times the loop will be executed?

int odd = 1, sum = 2, count = 9;

do {

sum = sum + odd;

odd = odd + 2;

cout >> sum

count = count + 1;

}

while (count < 10)
}


MCQs:

A) 1
B) 2
c) 0
d) 3

Answers

Answer:

0

Explanation:

Answer: Syntax error. So it would be 0.

After correcting syntax it would be 1

Explanation:

Braces never started in beginning but put in the end after while loop

characteristics of special computers​

Answers

Speed, Accuracy, Diligence, Versatility, Reliability, and Memory!

Other Questions
Leonardo da Vinci's portrait the Mona Lisa is2 feet 6 inches long and 1 ft 9 inches wide.Janelle has a refrigerator magnet of thepainting that is 3.5 cm wide. What is the length of the magnet? If -2 is a zero of P(x) = 2x- 3x( 5k+4) then k = ____.Brainly Challange for high level user. Two objects are a distance of 1.7 x 103 meters apart. One object has a mass of 3 x 107 kg and the other has a mass of 6 x 108. Determine the gravitational force between the objects. During the process of photosynthesis,which of the following is being createdby producers? The Impressionist painters' interest in color is paralleled by the Impressionist composers' interest in: According to the scatterplot, what would you predict would be the crime index for a city with a population of 220,000? A. 450 B. 465 C. 500 D. 550 True or false: When testing the difference between two population means it is unlikely that one would know the value of the population variances. Which drug is an opioid? marijuana aspirin antibiotics oxycodone Easy question for some points 2x2-6+4 Octavia is making cotton candy. She uses 17.5 cups of sugar to make 5 bags of cotton candy. At this rate, how many cups of sugar are used to make 1 bag of cotton candy? Frederick Griffith made a scientific discovery in 1928. which best describes the knowledge about genetics before 1928? I NEED HELP WITH ANOTHER ONE FIND THE MEASURE OF X Do you like going to the garden? how many turkeys are eaten on thanksgiving in the us What are the two ways that harmful algal blooms can negatively impact an ecosystem? (Site 1). At a concert the ratio of adults to children is 4:5. There are 720 children in a concert how many adults are there? BRAINLIEST QUEATION !! explain the significance of chemical digestion!! marking brainliest please help All of the following can be associated with asset-backed securities except A) the securitization of assets. B) minimal risk. C) pooling individual assets into larger financial securities to be sold to investors. D) expected cash flow from credit card debt, leases, auto loans, and mortgages. Historians study prehistory through all of the following except:a.written historyb.archaeologistsc.anthropologistsd.ancient remains 50 pencils cost 3. How much would 8 pencilscostWhat is the answer