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
myrzilka [38]
3 years ago
8

A. Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter an hourly pay rate and

hours worked. The program outputs the user’s gross pay.
b. Modify the program that computes gross pay to allow the user to enter the withholding tax rate. The program outputs the net pay after taxes have been withheld
Computers and Technology
1 answer:
konstantin123 [22]3 years ago
6 0

Answer:

Here is the pseudocode.

a.

INPUT hourly rate

INPUT hours worked

SET gross pay = hourly rate  x hours worked

PRINT gross pay

b.

INPUT hourly rate

INPUT hours worked

SET gross pay = hourly rate  x hours worked

PRINT gross pay

INPUT tax rate

SET net pay = gross pay - (gross pay * tax rate / 100)

PRINT net pay

Explanation:

a.

Ask the user to enter hourly rate and hours worked

Calculate the gross pay, multiply hourly rate by hours worked

Print the gross pay

b.

Ask the user to enter hourly rate and hours worked

Calculate the gross pay, multiply hourly rate by hours worked

Print the gross pay

Ask the user to enter the tax rate

Calculate the net pay as gross pay - (gross pay * tax rate / 100)

Print the net pay

You might be interested in
Define CPU and its functions​
Maslowich

<u>Central processing unit (CPU)</u>

functions :-

  • <u>CPU performs basic arithmetic, logic, controlling, and input/output (I/O) operations specified by the instructions in the program.</u>

6 0
3 years ago
Read 2 more answers
5. Why do we need programming language?​
Natasha_Volkova [10]

Answer:

hajshshzjsjwb

Explanation:

bsbjsjsjwjwjs

3 0
3 years ago
Read 2 more answers
WHAT DOES THE SCRATCH CODE BELOW DO?
Vinil7 [7]
I think it’s b vertically
7 0
3 years ago
2- There are many different design parameters that are important to a cache’s overall performance. Below are listed parameters f
katen-ka-za [31]

Answer:

1. 2588672 bits

2. 4308992 bits

3. The larger the data size of the cache, the larger the area of ​​memory you will need to "search" making the access time and performance slower than the a cache with a smaller data size.

Explanation:

1. Number of bits in the first cache

Using the formula: (2^index bits) * (valid bits + tag bits + (data bits * 2^offset bits))

total bits = 2^15 (1+14+(32*2^1)) = 2588672 bits

2. Number of bits in the Cache with 16 word blocks

Using the formula: (2^index bits) * (valid bits + tag bits + (data bits * 2^offset bits))

total bits = 2^13(1 +13+(32*2^4)) = 4308992 bits

3. Caches are used to help achieve good performance with slow main memories. However, due to architectural limitations of cache, larger data size of cache are not as effective than the smaller data size. A larger cache will have a lower miss rate and a higher delay. The larger the data size of the cache, the larger the area of ​​memory you will need to "search" making the access time and performance slower than the a cache with a smaller data size.

5 0
3 years ago
Where or what website can I download anime's? For free ​
Artemon [7]

<em>https://todo-anime.com/</em>

5 0
3 years ago
Other questions:
  • Although the battery on your smartphone is fully charged, it drains quickly. In some instances when the phone shows that the bat
    12·1 answer
  • A rectangular range of cells with headings to describe the cells' contents is referred to as a
    9·1 answer
  • Side mirror using convex mirror or concave mirror?​
    5·2 answers
  • Name at least two types of career options that are available for someone with strong typing skills?
    10·2 answers
  • What is encyclopedia. Com considered to be?
    14·1 answer
  • From the following list choose all the tasks an operating system performs.
    5·2 answers
  • A BufferedReader has a constructor that takes a single InputStreamReader parameter. InputStreamReader has a constructor that tak
    8·1 answer
  • Select the correct answer from each drop-down menu.
    8·1 answer
  • Arrange the binary number in increasing order of their arithmetic output in the decimal number system ?
    9·1 answer
  • Camera work is at the center of video production. True or False?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!