Computers and Technology
Computers and Technology, 23.12.2021 17:20, sophiaa23

* Ask the user to enter the name of the employee * Prompt the user to select between full time and part time by pressing either F (full time) or P (part-time)

* If F is pressed, ask the user to enter his monthly salary.

Then display his name and salary.

If P is pressed, ask the user to type his rate(pay) per hour, then the number of hour, and then the number of overtime. Then display his or her name and wage. The computation pay is:

hours of overtime x (rate per hour x 125%)

If an invalid letter is pressed, display an error message.

For mobile users, you may use this online IDE. Make sure the Interactive option is enabled to allow user input.


* Ask the user to enter the name of the employee

* Prompt the user to select between full time an

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:00, kamilahmcneil3969
What are the most likely causes of conflict at the meeting? check all that apply.
Answers: 1
image
Computers and Technology, 22.06.2019 19:10, hgdthbgjnb83661
What a backup plan that you have created in a event you encounter a situation
Answers: 2
image
Computers and Technology, 22.06.2019 20:50, ashiteru123
What is the difference between windows 7 and windows 10?
Answers: 1
image
Computers and Technology, 23.06.2019 03:10, kyleereeves2007
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e. g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
Do you know the correct answer?
* Ask the user to enter the name of the employee * Prompt the user to select between full time and...

Questions in other subjects:

Konu
Mathematics, 29.08.2019 01:30
Konu
Mathematics, 29.08.2019 01:30