As I mentioned in one of my previous posts,that I'm gonna give lot of sample programs on the programming language C,I've created a post named 'C++ sample programs' this will list the names of all the posts the sample programs.As for now,here's my first program.This when compiled and executed will give you an output which will look like this:


Here's the code:

void main()

Change the YOURNAME to any name or phrase you wish.