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
ollegr [7]
3 years ago
11

The pay of an hourly worker is calculated by multiplying the hours worked by the hourly rate—up to 40 hours; any hours worked be

yond 40 are paid at time-and-a-half (one and a half times the hourly rate). given the variables hours, rate, and pay have already been declared and assigned values, write a fragment of code (one or more statements) that assigns to pay the proper value, taking into account time-and-a-half. (basic arithmetic, basic conditional)
Computers and Technology
1 answer:
oee [108]3 years ago
8 0
C# program code;

if (hours <=40)
{
pay = rate * hours;
}
else
{
extra_hours = hours - 40;
pay = 40*rate + extra_hours *rate*1,5;
}
You might be interested in
The collection of programs on a computer is referred to as _______________.​
schepotkina [342]
It is referred to as software

Software consists of an entire set of programs and routines linked with the operation of a computer. In other words, it is a collection of executable instructions that enable you to interact with a computer and its hardware. A computer would be rendered useless without software.

 






5 0
4 years ago
This is my new horrible subject lol
Gre4nikov [31]
It's b...............
6 0
3 years ago
When you use an IDE instead of a simple text editor to develop a program, ____________.
nalin [4]

Answer:

your answer is :

some help is provided

Explanation:

An integrated developed environment (IDE) provide more programming help than a plain text editor.

please mark me brainlist

4 0
3 years ago
Programs that run on hardware are called:
Novay_Z [31]

Computer programs contain instructions that the hardware

6 0
3 years ago
Hello,
tekilochka [14]
I think you should get used input
5 0
3 years ago
Other questions:
  • ________ is a type of attack in which the attacker takes control of a session between two machines and masquerades as one of the
    5·1 answer
  • A polyalphabetic cipher uses many ___
    6·1 answer
  • Rows within a spreadsheet are identified by:
    8·1 answer
  • Which of the following is something you need to keep an eye out for
    7·2 answers
  • Stuart wants to delete some text from a slide. What should Stuart do?
    8·1 answer
  • Authentication is a mechanism whereby unverified entities or supplicants who seek access to a resource provide a label by which
    12·1 answer
  • Find the ratio of 24 to 36​
    5·2 answers
  • What is the difference between a crosstab query and a subquery?
    11·2 answers
  • 10. Why antivirus is needed to be installed in computer system?
    8·1 answer
  • Which keyboard shortcut can you use to access the go to feature, which will allow you to move quickly to another location in the
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!