Back

codekata

Created 3 years ago
832 Views
2 Comments
kowsalyaArul
@kowsalyaArul
kowsalyaArul
@kowsalyaArulProfile is locked. Login

Given a string 'S' print the sum of weight of the String. A weight of character is defined as the ASCII value of corresponding character.

Input Description:
You are given a string ‘s’

Output Description:
Print weight

Sample Input :
abc
Sample Output :
294

i am not able to solve this problem can any one help with this

Comments (2)
Please login to comment.