write a program to prompt the user for hours and rate per hour using input to compute gross pay. use 35 hours and a rate of 2.75 per hour to test the program (the pay should be 96.25). you should use input to read a string and float() to convert the string to a number. do not worry about error checking or bad user data.

Answers

Answer 1

The program code:

hrs = input("Enter Hours:")

h = float(hrs)

rate = input("Enter Rate:")

r = float(rate)

pay = h * r

print("Pay:",pay)

The Benefits of Calculating Gross Pay

When it comes to managing finances, understanding how to calculate gross pay is an invaluable skill. Calculating gross pay is the process of determining an employee’s total earnings before deductions and taxes are taken out. It’s an important step in the process of determining how much an employee will actually take home in their paycheck. Knowing how to calculate gross pay can be beneficial in a variety of ways.

First, calculating gross pay can help employers ensure they are properly compensating their employees. When determining an employee’s salary, employers must consider factors such as overtime pay, bonuses, and commissions when calculating the total gross pay. This helps employers ensure that their employees are adequately compensated for all their work.

Second, calculating gross pay can help employees understand their earning potential. It’s important for employees to understand how their earning potential is affected by factors such as overtime pay, bonuses, and commissions. This understanding can help employees negotiate higher wages or ask for additional benefits.

Learn more about gross pay:

https://brainly.com/question/18095052

#SPJ4


Related Questions

Enumerate a couple of reasons why it would be impracticable for the external devices to be connected directly to the processor or the system bus

Answers

Answer:

(a) Difference in data transfer rates

(b) Difference in word lengths

(c) Different peripherals with different modes of operation

Explanation:

There are several reasons. Some of them have been listed in the explanation section. A brief explanation is as follows

(a) Difference in data transfer rates

Some peripherals have fast transfer rate while some have slow transfer rates compared to the processor they are being connected to. This difference in the rates implies that a high speed system bus will find it difficult to communicate with a (say) low speed peripheral.

(b) Difference in word lengths

Another consideration is the word lengths. Often times, peripherals and the bus they are being connected with will have a different word lengths.

(c) Different peripherals with different modes of operation

In computer architecture, a processor can not be used to interact with peripheral of different mode of operations. In other word, each peripheral have its own mode and will require different means of connection.

Note that common skills are listed toward the top and less common skills are listed toward the bottom. According to O*NET, what are some common skills needed by Accountants? Select four options

mathematics
reading comprehension
equipment maintenance
quality control analysis
active listening
writing

Answers

Answer:

I. Mathematics.

II. Reading comprehension

III. Active listening

IV. Writing

Explanation:

O*NET is the short for Occupational Information Network and it is a comprehensive online database that is uniquely designed to provide information about job requirements, staff competencies, work styles, abilities, skills and other resources. Thus, O*NET is the primary source of occupational information for the private and public sector of the United States of America. Also, it helps to identify and develop the work styles, skills, activities and abilities of various occupations of the American workforce.

According to O*NET, some common skills needed by Accountants include the following;

I. Mathematics: an accountant is required to have a good knowledge of different mathematical concepts such as arithmetic, calculus, algebra, statistics, etc., as well as their application to the field of accounting.

II. Reading comprehension: he or she should be able to read and understand the informations contained in all work-related documents.

III. Active listening: accountants are required to pay adequate attention to the informations that are given by the customers without interjections.

IV. Writing: they should be able to compose well-written and clear textual informations about work-related activities.

Answer:

I. Mathematics.

II. Reading comprehension

III. Active listening

IV. Writing

Explanation:

What are some other sites similar to brainly? By similar I mean being able to ask a question and answer them based on categories.

Answers

Answer:

jiskha.com

Explanation:

Answer:

Quora and Yahoo answers are alright

What should I watch on Netflix (shows for a 14 year old) ?

Answers

Answer:

The flash

Explanation:

Answer:

Im not a big horse fan but loved this show its called free rein

Explanation:

loved itttttt!

Explain what Fahd did wrong in the scenario below. Fahd is running ten programs at once on his laptop when it suddenly freezes up. To fix this problem, Fahd buys a new battery for his laptop.

Answers

Answer:

Well first off. if the laptop froze that doesn't mean the battery is dead to the point where a simple rest of the laptop wouldn't work out.

What is the output from main (below) after the following function is called. void calculateCost(int count, double& subTotal, double& taxCost) // definition { if ( count < 10) subTotal = count * 0.50; else subTotal = count * 0.20; taxCost = 0.1 * subTotal; } int main() { double tax = 0.0, subTotal = 0.0; calculateCost(15, subTotal, tax); // function call cout << "The cost for 15 items is " << subTotal << ", and the tax for "<< subTotal << " is " << tax << endl; return 0; }

Answers

Answer:

     

Explanation:

Select the correct answer.
Which principle of animation is prominent in this picture?
A.staging
B.arcs
C.anticipation
D. timing

Answers

The principle of animation reflected in the image is the arcs principle.

What is animation?

Animation refers to the action of recreating actions and movements by using drawings or models.

What are the principles of animation?Animation is regulated by specific principles, some of them include:Anticipation: Showing the movement or position that anticipates an action.Timing: Making an action fast or slow by using a specific number of frames.Staging: Using specific elements to stage one action and avoiding unnecessary elements.Arcs: Showing the natural movement of a specific action.

Based on this, the principle used in the image is the arcs because it emphasizes the natural curve or natural movement of someone playing golf.

Learn more about draw in: https://brainly.com/question/4853831

Answer:

B. arcs

Explanation:

you would use conditional formatting on a cell when you want to _____

Answers

Answer:

to format a cell based on the value in it

Explanation:

you would use conditional formatting on a cell when you want to format a cell based on the value in it.

Reason -

Conditional formatting allows you to format a cell based on the value in it.

For example, if you want to highlight all the cells where the value is less than 30 with a red color, you can do that with conditional formatting.

How would you highlight cells with negative values in it?

You can use conditional formatting.

what is the main reason for adding somebody into the BCC list for an email?​

Answers

Answer:

protecting email address privacy

Explanation:

for securing and privacy reasons and it is for the best

Write a program that accepts an integer value called multiplier as user input. Create an array of integers with ARRAY_SIZE elements. This constant has been declared for you in main, and you should leave it in main. Set each array element to the value i*multiplier, where i is the element's index. Next create two functions, called PrintForward() and PrintBackward(), that each accept two parameters: (a) the array to print, (b) the size of the array. The PrintForward() function should print each integer in the array, beginning with index 0. The PrintBackward() function should print the array in reverse order, beginning with the last element in the array and concluding with the element at index 0. (Hint: for help passing an array as a function parameter, see zybooks section 6.23) As output, print the array once forward and once backward.

Answers

Answer:

The program in C++ is as follows:

#include <iostream>

using namespace std;

void PrintForward(int myarray[], int size){

   for(int i = 0; i<size;i++){        cout<<myarray[i]<<" ";    }

}

void PrintBackward(int myarray[], int size){

   for(int i = size-1; i>=0;i--){        cout<<myarray[i]<<" ";    }

}

int main(){

   const int ARRAY_SIZE = 12;

   int multiplier;

   cout<<"Multiplier: ";

   cin>>multiplier;

   int myarray [ARRAY_SIZE];

   for(int i = 0; i<ARRAY_SIZE;i++){        myarray[i] = i * multiplier;    }

   PrintForward(myarray,ARRAY_SIZE);

   PrintBackward(myarray,ARRAY_SIZE);

   return 0;}

Explanation:

The PrintForward function begins here

void PrintForward(int myarray[], int size){

This iterates through the array in ascending order and print each array element

   for(int i = 0; i<size;i++){        cout<<myarray[i]<<" ";    }

}

The PrintBackward function begins here

void PrintBackward(int myarray[], int size){

This iterates through the array in descending order and print each array element

   for(int i = size-1; i>=0;i--){        cout<<myarray[i]<<" ";    }

}

The main begins here

int main(){

This declares and initializes the array size

   const int ARRAY_SIZE = 12;

This declares the multiplier as an integer

   int multiplier;

This gets input for the multiplier

   cout<<"Multiplier: ";    cin>>multiplier;

This declares the array

   int myarray [ARRAY_SIZE];

This iterates through the array and populate the array by i * multiplier

   for(int i = 0; i<ARRAY_SIZE;i++){        myarray[i] = i * multiplier;    }

This calls the PrintForward method

   PrintForward(myarray,ARRAY_SIZE);

This calls the PrintBackward method

   PrintBackward(myarray,ARRAY_SIZE);

   return 0;}

2. Which of the following is not one of the guidelines for using instant messaging?A.You can use in place of all face-to-face communication.
B.Keep messages short.
C.Never text or send an instant message when you are angry.
D.Use it for casual conversations.​

Answers

Answer:

A. You can use in place of all face-to-face communication.

Explanation:

Hope this helps

differentiate between tabular and column form layout​

Answers

In tabular form the data is displayed in a table layout following a continuous series of records. In this almost all the records are displayed in a single layout. While in columnar form the data is displayed one record at a time.

2ND LAST QUESTION

the purpose of the ___________ element is to group together a set of one or more [h1] element so that theyre treated as a single heading

a. header
b. hgroup
c. h1group
d. group

Answers

Answer:

B

Explanation:

1-DESIGN TAB....................2-LAYOUT TAB .

1-wordart styles,

2-table size,

1-Table styles,

2-alignment,

1-draw borders,

2-rows and columns

Answers

design tab

wordart stylestable stylesdraw border

layout tab

table sizerows and columnsalignment

Answer:

The person above is correct.

Explanation:

hello everyone! can anybody help me? i need help with computing.
what is a pseucode?
please answer me ​

Answers

Answer:

a pseu code is a is an artificial and informal language that helps programmers develop algorithms.

Explanation:

Your aunt owns a store and hired you to analyze the customers. You recorded the estimated ages of customers who shopped in the store and whether they made a purchase. Some of your data values are followed. What types of analysis could you do with this data? Select 4 options.

Answers

Answer:

-percentage of customers who made a purchase

-minimum age

-average age

-maximum age

Percentage of customers who made a purchase, minimum age, average age and maximum age are the types of analysis could you do with this data. Hence, option A, B, C and E are correct.

What is data values?

A data value is the material that fills the space of a record. For instance, one of the database's numerous data fields might contain a number that indicates the weight of a certain integer.

Data, such as statistics, phone numbers, or inventory counts, are undoubtedly pieces of information that a person would understand as numbers.

Data provides useful information that enhances business decisions. This information is the result of an effective data analytics strategy. Businesses may create a data culture far more easily because of the monetary worth of data.

Thus, option A, B, C and E are correct.

For more information about data values, click here:

https://brainly.com/question/16612044

#SPJ2

Which of the following traversals would print all of the elements in the 2D array of integers nums
in column-major order?

Answers

Answer:

This is from three days ago im

guessing you got the answer if you can get it to me that would be awesome

The traversals would print all of the elements in the 2D array of integers nums in column-major order is  for(int row = 0; row < nums[0].length; row++) { for(int col = 0; col < nums.length; col++){System.out.println (nums[row][col]); } }. The correct option is c.

What is a 2D array?

A matrix is another name for a 2D array. Look at the example below to learn how to generate a 2D array of integers: integer matrix [2][3] = 1, 4, 2, 3, 6, 8; The first dimension [2] denotes the quantity of rows, and the second [3] the number of columns.

Use the new keyword, a space, the type, the number of rows in square brackets, and the number of columns in square brackets to build an array, as in new int[numRows][numCols]. A 2D array has as many elements as its number of rows twice its number of columns.

Therefore, the correct option is c) for(int row = 0; row < nums[0].length; row++) { for(int col = 0; col < nums.length; col++) { System.out.println(nums[row][col]); } }.

To learn more about a 2D array, visit here:

https://brainly.com/question/27171171

#SPJ6

The question is incomplete. Your most probably complete question is given below:

a) for(int col = 0; col < nums.length; col++) { for(int row = 0; row < nums[col].length; row++) { System.out.println(nums[col][row]); } }

b) for(int row = 0; row < nums.length; row++) { for(int col = 0; col < nums[0].length; col++) { System.out.println(nums[col][row]); } }

c) for(int row = 0; row < nums[0].length; row++) { for(int col = 0; col < nums.length; col++) { System.out.println(nums[row][col]); } }

d) for(int row = 0; col < nums[0].length; col++) { for(int row = 0; col < nums.length; row++) { System.out.println(nums[row][col]); } }

What happens once the Insert tab is used in PowerPoint to insert a chart into a presentation?
A separate data sheet opens in which to enter data for the chart.
The user is prompted to link to an external Excel spreadsheet
The user can edit the chart directly
Nothing happens

Answers

Answer:

A (because you can't have a chart without information, right?)

brainliest plz

Explanation:

In order to multitask, a computer must have two or more processors. True or False

Answers

Answer:

False

Explanation:

:) brainliest pls

Answer:

True

Explanation:

Which of the following best explains how messages are typically transmitted over the Internet? The message is broken into packets that are transmitted in a specified order. Each packet must be received in the order it was sent for the message to be correctly reassembled by the recipient’s device. The message is broken into packets that are transmitted in a specified order. Each packet must be received in the order it was sent for the message to be correctly reassembled by the recipient’s device. A The message is broken into packets. The packets can be received in any order and still be reassembled by the recipient’s device. The message is broken into packets. The packets can be received in any order and still be reassembled by the recipient’s device. B The message is broken into two packets. One packet contains the data to be transmitted and the other packet contains metadata for routing the data to the recipient’s device. The message is broken into two packets. One packet contains the data to be transmitted and the other packet contains metadata for routing the data to the recipient’s device. C The message is transmitted as a single file and received in whole by the recipient’s device.

Answers

Answer:

A The message is broken into packets. The packets can be received in any order and still be reassembled by the recipient’s device. The message is broken into packets. The packets can be received in any order and still be reassembled by the recipient’s device.

Explanation:

Network packets are used to send data across a network. These can be routed in any order independently of one another as they will all eventually reach their destination device.

1. What is used to change the appearance of a cell's value based on parameters set by the user?

Answers

conditional formatting

list the first prime minister of St Vincent and the grenadines​

Answers

Robert Milton Cato (June 3rd, 1915 - February 10, 1997)

Describe an association or rhyming phrase you have used to remember information. Was this a useful technique for you? Why or why not?

Answers

Answer:

I used the names George Clooney and Tim Allen to remember the pairs of nitrogenous bases in DNA.

Explanation:

DNA is composed of nucleotides, however the nucleotides are formed by nitrogenous bases called Adenine, Guanine, Cytosine and Thymine. Each nucleotide has a nitrogenous base, but these bases form pairs, allowing the nucleotides to come together. The pairs are formed solely by Timine and Adenine or Guanine and Cytosine.

As I needed to remember the formation of the pairs to do my biology test, I associated the first letter of each base, with the initials of two famous names.

As Guanina is paired with Cytosine (G-C), I associated this pair with the initial letters of the name George Clooney. As Timina is paired with Adenina (T-A), I associated this pair with the initials of the name Tim Allen.

What do fair use and copyright laws help you understand ?

Answers

Explanation:

we can understand about the systematic laws and surely we can be aware of such things also it promotes the correct use of our technology and innovations.

In its most general sense, a fair use is any copying of copyrighted material done for a limited and “transformative” purpose, such as to comment upon, criticize, or parody a copyrighted work. ... In other words, fair use is a defense against a claim of copyright infringement.

BRAINLIEST WILL BE GIVEN

which technique can you use on your pages to improve ratings in search engines

a. on-page
b. search review
c. off-page
d. off-site

Answers

Answer:

mine is search review

Explanation:

so u can know if its bad or good rewiev s are very helpfull

You should contact your references _____ a job interview.


only if the interviewer asks for your references

before and after

before

after

Answers

Answer:

My research suggests that it is before and after.

You should contact your references before and after a job interview.

What is Interview?

A planned interaction in which one party asks questions and the other responds is known as an interview. A one-on-one chat between an interviewer and an interviewee is referred to as a "interview" in everyday speech.

The interviewee answers the interviewer's questions by typically supplying information. Other audiences may utilize or receive that information right away or later.

This characteristic is common to many different types of interviews; even though there may not be any other people present during a job interview or an interview with a witness to an occurrence, the answers will still be given to other people later on in the hiring or investigative process.

Therefore, You should contact your references before and after a job interview.

To learn more about Interview, refer to the link:

https://brainly.com/question/13073622

#SPJ2

One of the disadvantages of cable technology is that: while it works well for television signals, it is ineffective for data transmissions required by the Internet. while it works well for television signals, it is ineffective for data transmissions required by the Internet. none of the available options are true. none of the available options are true. it is incompatible with most modern communication systems. it is incompatible with most modern communication systems. systems used by many providers require customers to share bandwidth with neighbors. systems used by many providers require customers to share bandwidth with neighbors.

Answers

Answer:

systems used by many providers require customers to share bandwidth with neighbors

Explanation:

One of the disadvantages of cable technology is that systems used by many providers require customers to share bandwidth with neighbors. This ultimately causes many problems since cables would need to be extended to reach every single user that will be sharing the bandwidth. This would mean cables all over the place. Also, it is very difficult to limit the bandwidth per person, meaning that if anyone is using up all of the bandwidth through the cable, the rest of the individuals connected would not have the bandwidth that they need or are paying for.

I’ll mark brainliest, thanks

Answers

Answer:

if that is a tutorial, than just hit submit, the teacher doesn't see it.

Explanation:

i do online schooling on the same website

\Yeah man, what the last guy said. On that website, teachers can't see tutorials so you can just submit it blank if you want. :)

Which of the following is not an example of a source of information that contributes to the accumulation of big data

Answers

Answer:

Law enforcement officials request the driver's license history for a suspect they recently apprehended.

Explanation:

The option that doesn't cause accumulation of big data is that Law enforcement officials request the driver's license history for a suspect they recently apprehended.

What causes accumulation of data?

Data is an information that is processed by a computer and can be stored in the computer for future use or reference purposes.

The quantity of data processed by a computer depends on the volume of the raw data that is collected and prepared before processing takes place.

From the given options;

Law enforcement officials request the driver's license history for a suspect they recently apprehended. This is just the data of a single individual which can not cause big data accumulation.

Receivers in cell phones request position information from nearby cell phone towers, and this location information is communicated to cell phone companies. This involves more that one cell phone company therefore can cause accumulation of big data.

Search engine providers store all search terms entered by users. This can cause accumulation of data.

Hundreds of satellites stationed above the earth capture images of the earth’s surface. This can cause accumulation of data.

Therefore data from a single source cannot cause accumulation of big data.

Learn more about data processing here:

https://brainly.com/question/26642156

13. Place where names, addresses and email information
is stored

Answers

Answer in ur email

Explanation:

Other Questions
(0,0); y = 4/5x+7 help me Logan y Tanner le ________ (escribir, ver, regalar) unas gafas de sol a Matt en la clase de espaol. heelpp i am failing spanish many plains indians who were forced onto reservations had trouble adapting beacuse they were, What statement about enzymes and pH is true?Most enzymes require a very basic environment to function well.Most enzymes require a very acidic environment to function well.Enzymes require a specific range of pH values to function.Enzymes are unaffected by changes in pH levels. AP World History 25 points!!Use the drop-down menus to choose the best answer to each question below:The Dominican Republic is on the island of ...HispaniolaPuerto Rico CubaThe Dominican Republic shares a border with ...HaitiPanamaSouth AmericaThe Dominican Republic is north of the ...Caribbean seaAtlantic OceanGulf of Mexico Paul's house has an area of 1,650 square feet. He plans to add another room on to his house. The new rectangular addition will have dimensions 12 feet by 15 feet. What is the area of the house after the new room has been added?PLEASE HELP Evaluate the following usingpowers of ten rules.10/652.3Please help will mark brainliest:) help for the rest please! PLEASE HELPPP. SPANISH I WILL GIVE BRAINLEST!!!!1. Decide whether the sentence is grammatically CORRECT or INCORRECT as written.Yo duermome a las nueve.correctincorrect2. Decide whether the sentence is grammatically CORRECT or INCORRECT as written.Me gusta lavarme las manos.correctincorrect3. Decide whether the sentence is grammatically CORRECT or INCORRECT as written.Quieres te pones la ropa?correctincorrect4. Decide whether the sentence is grammatically CORRECT or INCORRECT as written.Mi mam se sienta en el sof.correctincorrectThanks Sue invested $2400 at a 3% simple interest rate for 18 months. How much did she earn on her investment after the 18 months? A sphere with the same mass and radius as the original cylinder, but a smaller rotational inertia, is released from rest from the top of the ramp. KS and KC are the sphere's and cylinder's total kinetic energy at the bottom of the ramp, respectively. How do KS and KC compare, and why Why did some people support the rise of the dictators? ( In World War II )Why did Hitlers Nazi government attempt to destroy the Jews? ( In World War II ) In July, one of the processing departments at Okamura Corporation had beginning work in process inventory of $24,000 and ending work in process inventory of $29,000. During the month, the cost of units transferred out from the department was $159,000. In the department's cost reconciliation report for July, the total cost to be accounted for under the weighted-average method would be: why are leaves included in experiments Define;i) Voltageii) Currentiii) Electrical Poweriv) Electrical Energy Any helpers pls ?will give brainliest Alex records the running timethe number of minutes a movie lasts from start to finishof 50 popular movies. The distribution of times, in minutes, is displayed in the histogram below. please help!!!!!!!!!!!!!!!1 pls help meeeee :D show ur work prove the identity. 25 points + brainliest to whoever explains/shows work.