$ 0 0 Egypts President Mohammed Morsi has declared a state of emergency in three provinces hit by rioting which has left dozens dead.