Ask Question

Represent the logic of a program that allows the user the decide if an employee is eligible for overtime pay. If the employee is hourly, then output "Eligible for overtime," and if the employee is salaried, then output "Not eligible for overtime."Represent the logic of a program decides which award to give an employee based on years of service. Someone with more than 25 years of service gets a gold watch, and someone with 25 years or less of service receives a pen and pencil set. Represent the logic of a program that allows the user to enter a value between 1 and 100. The program determines if the value is even or odd, and outputs either "The number is even," or "The number is odd."

+4
Answers (1)
  1. 1 December, 10:40
    0
    Answer and Explanation:

    Employee wage at $$$ per hr=>"eligible for overtime"

    Employee wage at $$$ per month=> "not eligible for overtime"

    Employee years> 25 years of service = gold watch

    Employee years=<25 years of service = pen and pencil set

    Input value

    Min 1, Max 100

    Divide input value by 2

    Output number is even if divided by 2

    Else output number is odd

    From the above, we have used pseudo code to state program logic which we can use to transform logic into code that can be compiled.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Represent the logic of a program that allows the user the decide if an employee is eligible for overtime pay. If the employee is hourly, ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers