subject

Problemdiana lee, a supervisor in a manufacturing company, wants to know which employees have increased their production this year over last year so that she can issue them certificates of commendation and bonuses. design a raptor flowchart for following: a program that accepts each worker’s first and last names, this year’s number of units produced, and last year’s number of units produced. displays the name and a bonus amount. the bonuses will be distributed as follows: if this year’s production is greater than last year’s production and this year’s production is: 1,000 units or fewer, the bonus is $25 1,001 to 3,000 units, the bonus is $50 3,001 to 6,000 units, the bonus is $100 6,001 units and up, the bonus is $200 name the file lab6.rap output #1 enter last name: smith enter first name: john enter this year's units: 3000 enter last year's units: 4000 smith, john bonus is $0.0 output #2 enter last name: smith enter first name: john enter this year's units: 900 enter last year's units: 300 smith, john bonus is $25.0 output #3 enter last name: smith enter first name: john enter this year's units: 2500 enter last year's units: 2000 smith, john bonus is $50.0 output #4 enter last name: smith enter first name: john enter this year's units: 4500 enter last year's units: 4000 smith, john bonus is $100.0 output #5 enter last name: smith enter first name: john enter this year's units: 7000 enter last year's units: 6000 smith, john bonus is $200.0

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:10, josued123321
Alook-up table used to convert pixel values to output values on a monitor. essentially, all pixels with a value of 190 or above are shown as white (i. e. 255), and all values with a value of 63 or less are shown as black (i. e. 0). in between the pixels are scaled so that a pixel with a value p is converted to a pixel of value 2/127 −+3969). if a pixel has a value of 170 originally, what value will be used to display the pixel on the monitor? if a value of 110 is used to display the pixel on the monitor, what was the original value of the pixel?
Answers: 1
image
Computers and Technology, 22.06.2019 13:00, jairus34
We as humans write math expression in infix notation, e. g. 5 + 2 (the operators are written in-between the operands). in a computer’s language, however, it is preferred to have the operators on the right side of the operands, i. e. 5 2 +. for more complex expressions that include parenthesis and multiple operators, a compiler has to convert the expression into postfix first and then evaluate the resulting postfix. write a program that takes an “infix” expression as input, uses stacks to convert it into postfix expression, and finally evaluates it. it must support the following operations: + - / * ^ % (example infix expression: (7 - 3) / (2 + 2)postfix expression: 7 3 - 2 2 + /result: 1guidelines: 1. you will need to use stacks in three placesa. one for the parenthesis check [char stack]b. one during infix to postfix [char stack]c. one during evaluation [int stack]for a and b above, you can use same array and same push, pop method as both ofthem are char. but for evaluation you have int stack and you might consider to createanother push pop method to handle it. maybe push_int, pop_int, etc. or find otherstrategy to utilize existing push pop method2. you can create a function for obtaining operator priority. that function should take anoperator as input and return its priority as an integer. this function will you a lot andreduce repeated code3. during evaluation you will need to convert char into integer. example for single digit: char c = '5'; int x = c - '0';
Answers: 2
image
Computers and Technology, 22.06.2019 16:20, mandy9386
Consider the following statements, then select one of the answers below: the signal() function shown below registers "sig_handler()" as the signal handler function for the sigkill signal, without the complexity of using when the sigkill signal is sent to a process running this code, by a user typing "kill -kill ", where the correct process id is used for to target the process, sig_handler() will be executed.
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, jroy1973
Awide variety of “ apps “ are available to customize devices. which category of app does the word processing software fall into?
Answers: 2
You know the right answer?
Problemdiana lee, a supervisor in a manufacturing company, wants to know which employees have increa...

Questions in other subjects:

Konu
Mathematics, 16.10.2020 14:01
Konu
English, 16.10.2020 14:01
Konu
Mathematics, 16.10.2020 14:01