I'v made a program in C++ to show the point of the words u like :
haha....it's very funny
Code:
#include <iostream.h>

int Sumword(char *) ; 
int main()
{  
	const int SIZE = 20;  
	char buffer1[SIZE] ; 
  
	cout<<"Please Enter a Word"<<endl ; 
	cin>>buffer1 ; 
    cout<<"Sum of the words is : "<<Sumword(buffer1)<<endl ; 
	return 0 ; 
}

int Sumword(char *buffer)
{
	int sum = 0 ; 
	while((*buffer) != '\0')
	{   
		if(*buffer<='Z'&& *buffer>='A')  *buffer+=32 ; 
		sum+= (int)*buffer - 96 ; 
		buffer++ ; 
	}

 return sum ; 
}

Last edited by shabbir; 30Nov2007 at 14:13.. Reason: Code block