What you have tried so far.? This seems like school or university assignment, assume that your teacher or lecturer is also reading these forums.
You should try something by your side first and then post question if you get stuck somewhere. You MUST try
here[
^] first.
Also refer
How to ask a good question?[
^]