24th Oct 2021, 2:32 PM
Anima Singh Dhabal
Anima Singh Dhabal - avatar
5 ответов
+ 2
Brian thanks
24th Oct 2021, 3:07 PM
Anima Singh Dhabal
Anima Singh Dhabal - avatar
+ 2
Your task is simple just read try to figure out the problem first line consists T number of test cases define one variable T and decrease the value of T for each execution. Then your s Variable contains string u need to find even and odd place characters. For then u need one more variable sum1 which will do summation of even chars u need to convert chars with ASCII value simply do type casting it will convert into ASCII value and do sum same do for odd places For even odd places u can use loop to length of your string And increase loop value with 2 each time
24th Oct 2021, 3:34 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
The beginning you can find here: https://code.sololearn.com/c88up45tDDKh/?ref=app
24th Oct 2021, 6:57 PM
JaScript
JaScript - avatar
+ 1
The proper place to advertise coding challenges is here: https://www.sololearn.com/Discuss/1270852/?ref=app
24th Oct 2021, 2:50 PM
Brian
Brian - avatar
+ 1
JaScript Thank you so much..its working
25th Oct 2021, 3:30 AM
Anima Singh Dhabal
Anima Singh Dhabal - avatar