1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
posledela
3 years ago
13

Write a program to calculate overtime pay of 10 employees. Overtime is paid at the rate of Rs. 12.00

Engineering
1 answer:
fgiga [73]3 years ago
6 0

Answer:

Here is the code.

Explanation:

#include<stdio.h>

int main()

{

int i, time_worked, over_time, overtime_pay = 0;

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

{

 printf("\nEnter the time employee worked in hr ");

 scanf("%d", &time_worked);

 if (time_worked>40)

 {

  over_time = time_worked - 40;

  overtime_pay = overtime_pay + (12 * over_time);

 }

}

printf("\nTotal Overtime Pay Of 10 Employees Is %d", overtime_pay);

return 0;

}

Output :

Enter the time employee worked in hr 42

Enter the time employee worked in hr 45

Enter the time employee worked in hr 42

Enter the time employee worked in hr 41

Enter the time employee worked in hr 50

Enter the time employee worked in hr 51

Enter the time employee worked in hr 52

Enter the time employee worked in hr 53

Enter the time employee worked in hr 54

Enter the time employee worked in hr 55

Total Overtime Pay Of 10 Employees Is 1020.

You might be interested in
Consider laminar, fully developed flow in a channel of constant surface temperature Ts. For a given mass flow rate and channel l
Lisa [10]

Answer:

Please see attachment.

Explanation:

6 0
3 years ago
Question 5 (20 pts) The rated current of a three-phase transmission line is 300 A. The currents flowing by the line are measured
prisoha [69]

Answer:

Check the explanation

Explanation:

Question 1.

The secondary current of 250/5 amps CT when 300 amps(rated current of transmission line ) flow in TL is

(5/250 ) X 300 = 6 amps

Question 2

The correct answer to this second question is yes, when Over current relay coil will operate and relay contacts gets close, if the pickup value( Ip) of relay is set as 6 amps in relay. ( because primary current of TL is 1.2 times of CT primary)

Question 3

Tap Block figure (Fig 1) is not available/uploaded in your question.

3 0
4 years ago
Consider a single crystal of nickel oriented such that a tensile stress is applied along a [001] direction. If slip occurs on a
Elena L [17]

Answer:

\mathbf{\tau_c =5.675 \ MPa}

Explanation:

Given that:

The direction of the applied tensile stress =[001]

direction of the slip plane = [\bar 101]

normal to the slip plane = [111]

Now, the first thing to do is to calculate the angle between the tensile stress and the slip by using the formula:

cos \lambda = \Big [\dfrac{d_1d_2+e_1e_2+f_1f_2}{\sqrt{(d_1^2+e_1^2+f_1^2)+(d_2^2+e_2^2+f_2^2) }} \Big]

where;

[d_1\ e_1 \ f_1] = directional indices for tensile stress

[d_2 \ e_2 \ f_2] = slip direction

replacing their values;

i.e d_1 = 0 ,e_1 = 0 f_1 =  1 & d_2 = -1 , e_2 = 0 , f_2 = 1

cos \lambda = \Big [\dfrac{(0\times -1)+(0\times 0) + (1\times 1) }{\sqrt{(0^2+0^2+1^2)+((-1)^2+0^2+1^2) }} \Big]

cos \ \lambda = \dfrac{1}{\sqrt{2}}

Also, to find the angle \phi between the stress [001] & normal slip plane [111]

Then;

cos \  \phi = \Big [\dfrac{d_1d_3+e_1e_3+f_1f_3}{\sqrt{(d_1^2+e_1^2+f_1^2)+(d_3^2+e_3^2+f_3^2) }} \Big]

replacing their values;

i.e d_1 = 0 ,e_1 = 0 f_1 =  1 & d_3 = 1 , e_3 = 1 , f_3 = 1

cos \  \phi= \Big [ \dfrac{ (0 \times 1)+(0 \times 1)+(1 \times 1)} {\sqrt {(0^2+0^2+1^2)+(1^2+1^2 +1^2)} } \Big]

cos \phi= \dfrac{1} {\sqrt{3} }

However, the critical resolved SS(shear stress) \mathbf{\tau_c} can be computed using the formula:

\tau_c = (\sigma )(cos  \phi )(cos \lambda)

where;

applied tensile stress \sigma = 13.9 MPa

∴

\tau_c =13.9\times (  \dfrac{1}{\sqrt{2}} )( \dfrac{1}{\sqrt{3}})

\mathbf{\tau_c =5.675 \ MPa}

3 0
3 years ago
John, a team member, has completed e0 - agile for beginners he wants to contribute to tcs agile vision. he wants to find out wha
Jet001 [13]

Answer:

John should detail his Scrum Master.

Explanation:

The Team Lead or Scrum Master coordinates the tasks of individual team members and supports the progress of the team. The Scrum Master usually receives instructions from the Product Owner and then ensures that the tasks are performed accordingly.  She also coaches the Development Team and works with the Product Owner to carry out daily development activities.  She also drives the Scrum Values and Principles, ensuring that the team members understand and practice them.

7 0
3 years ago
I WILL GIVE BRAINLIEST IF ANSWER FAST What is the measurement on this Dial Caliper?
garik1379 [7]

Answer:

b i think i dont see any dial caliper

Explanation:

8 0
3 years ago
Other questions:
  • A motor vehicle has a mass of 1.8 tonnes and its wheelbase is 3 m. The centre of gravity of the vehicle is situated in the centr
    14·1 answer
  • What is a coarse-grained rock composed of intermediate plagioclase feldspar and pyroxene? a. graniteb. gabbro c. andesited. peri
    9·1 answer
  • Consider two water tanks filled with water. The first tank is 8 m high and is stationary, while the second tank is 2 m high and
    12·2 answers
  • Using only the sequential operations described in Section 2.2.2, write an algorithm that gets two values: the price for item A a
    5·1 answer
  • A car air-conditioning unit has a 0.5-kg aluminum storage cylinder that is sealed with a valve, and itcontains 2 L of refrigeran
    5·1 answer
  • A 1200-kg car moving at 20 km/h is accelerated
    5·1 answer
  • What are the specifications state that all work shall be done?
    10·1 answer
  • There are three different types of slings. What determines which type you use?
    13·1 answer
  • Technician A says that fuel filler caps with pressure and vacuum vents are used with EVAP system fuel tanks. Technician B says t
    5·1 answer
  • Time left 0:35:32 Three steel rod (E = 200 GPa) supports 36 KN Load P. Each of the rods AB and CD has a 200 mm? cross- sectional
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!