Assume that a bool variable workedovertime has been declared , and that an int variable hoursworked has been declared and initialized . write a statement that assigns the value of workedovertime to true if hoursworked is greater than 40 and false otherwise.

Q&A Platform for Education
Platform Explore for Education