Solved Using Library Functions Define A Function Halve

Solved Using Library Functions Define A Function Halve