This is the first time I across such a scenario where OP is midst an online test, and posted a question to a quick answer. The question is too basic, however, the concerning thing is this statement:
Please help am midst of some online test. Thank you
I didn't notice it until I read that last line after posting an answer. Usually I don't pay much attention to "Please help me..Thanks.." etc. But this is special. Isn't this an abuse of the site?
I agree, OP could have done a search and might have found a ready made answer, but then it would still be fine to an extent as it needs minimum understanding to search and find an answer.
I removed my answer and I have voted to close the question, which I am not sure is the correct thing to do. OP has not shown his attempt. The question is too basic, however, we do answer basic questions now and then. However, my question addresses a bigger concern than these.