<=Back
The following code was written by a student. Use it to answer the questions that follows.
If(hours=40)
{
Cout<<”full time”;
}
Else if(hours<40)
{
Cout<< “part time”
}
Else
{
Cout<< “overtime due”;
}
(i)Identify three bugs in the code
(ii)Re-write the code correctly
 Viewed: 483 times
Share in: