Search
  • robertbrown07

The working day,...

Please assess, ... error check, .. and progress 🙂


void main(void)

{

Init_work_execute(); // Initiate work routine function

Init_tea_status(); // Initiate tea status function


While (weekday == YES) // while a weekday then, …

{

If(time >9 and time < 17 ) // and if time is between 9 and 5

{

work_execute(tea_status); // work,..but check tea status

}

Else

{

While (time < 9 and time > 17) // loop at all other times except work time

{

}

}

}

***************************

Void Init_work_execute()

{

Computer = SET; //switch computer ON

}

***************************

Void Init_tea_status()

{

if (tea_status == empty) //is tea empty?

{

Brew_tea(); // yes then brew tea

}

else

{

Return; // NO

}

Void work_execute(tea_status)

{

// WORK IN PROGRESS //

}


Eur Ing Dr Robert Brown (Robert) is the Executive Director of Fraser George and Associates Limited and is a Consultant Engineer in the fields Electrical Electronic and Control Engineering. Robert is also an accomplished professional Expert Witness having prepared and presented many court compliant reports and presented oral evidence within the High Court, Crown Courts and County Courts.


For further information please contact Robert via;

Email,…robert.brown@frasergeorge.com or robertbrown@robertbrown.uk.com

Tel Land: +44 (0)1777 709175

Tel Mobile: +44 (0) 7976250624

7 views0 comments