Title Calculating the Employees Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/ifelse_if_else_wage__68bdb309f6cc3d7a9cc09784
Platform Name PCEX
Features
Description Construct a program for the payment department of a company to calculate the wage of an employee based on the number of hours that the employee has worked. If an employee works over 40 hours in a week, the payment amount should take into account the overtime hours. The overtime hours are paid at a rate one and a half times the regular pay rate.
Keywords control flow, if-else statement
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/ifelse_if_else_wage__68bdb309f6cc3d7a9cc09784
Protocol SPLICE, HTML, PITT
Protocol URL
License MIT
Programming Language Java
Natural Language en

Preview

SPLICE Output