How to add rating in my website for google

I want to know how to add star rating in my website for google. Any customer will be able to choose rating for my page out of the 5 stars. Now the average total of all ratings should be shown in google results. I saw google is showing rating for some websites in stars. Now i want to implement this in my own website. Any help will be appreciated.
Posted by Harpreet 5/4/2014 5:00:45 PM
Post your answer
Preview
Sign in to your account
Your Email : 
Password :   
Forgot your password
Don't have StepCoder account ?
Create a new account
 
Follow me on twitter
About Me
Harpreet Singh
I began programming with C++ when i was 17. Then at the middle of my study .NET came. Then I began to read C# and VB.NET. By the time i learnt SQL and ASP.NET, and developed some websites such as news portals that are active now. Currently i am running my own Software company.
Answer these questions! If you know the answer.