Tag: 41058

Assume that a bool variable worked Overtime has been declared, and that an int variable hoursWorked has been declared and initialized. Write a statement that assigns the value true if hoursWorked is greater than 40 and false otherwise.

Assume that a bool variable worked Overtime has been declared, and that an int variable hoursWorked has been declared and initialized.  Write a statement that assigns the value true if hoursWorked is greater than 40 and false otherwise.

LANGUAGE: Visual Basic CHALLENGE: Assume that a bool variable worked Overtime has been declared, and that an int variable hoursWorked has been declared and initialized. Write a statement that assigns the value true if hoursWorked is greater than 40 and false otherwise.

Read More