how do you add ASCII values?
what i mean by this is that you add the ASCII values of the characters entered.
if the user enters "Hello", the ASCII values are "72, 101, 108, 108, 111".
The function hash is supposed to add those values together. the total should be 500
void hash ( char string[] )
{
int count ;
for( count = 0 ; string[count] != 0 ; count++ )
{
printf( "\n##%c", string[count] ) ;
}
}
this function is supposed to add the ascii values of the characters in string...