+ 8

Challenge time : Allowed languages C++,java,c#

Get a string input from the user and print the corresponding ascii value for the input strings.

17th Jan 2018, 3:30 PM
Mohd Zaki
Mohd Zaki - avatar
14 ответов
19th Jan 2018, 2:13 PM
Danijel Ivanović
Danijel Ivanović - avatar
17th Jan 2018, 5:45 PM
Cool Codin
Cool Codin - avatar
+ 11
19th Jan 2018, 4:03 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 11
https://code.sololearn.com/c8SdFHSi9AS3/?ref=app
28th Jan 2018, 4:37 AM
ASIF BILAKHIYA
ASIF BILAKHIYA - avatar
+ 6
There is no example for input/output, so here is my code: https://code.sololearn.com/cj11OBC2cnYc/?ref=app
17th Jan 2018, 4:54 PM
Boris Batinkov
Boris Batinkov - avatar
17th Jan 2018, 5:36 PM
abdulazizumarovich
abdulazizumarovich - avatar
+ 6
@Cool Codin @code learner @Jacob Pembleton I hope you don't use C style cast in your programs, it's bad practice, because it could fail anytime at runtime, you should consider use static_cast. it's C++ not C. just sayin.
17th Jan 2018, 6:49 PM
Cain Eviatar
Cain Eviatar - avatar
17th Jan 2018, 9:15 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 4
char[] cArr = new Scanner(System.in).nextLine().toCharArray() for(char c : cArr){ System.out.println((int)c); }
17th Jan 2018, 3:50 PM
Jeremy
Jeremy - avatar
17th Jan 2018, 5:39 PM
code learner
code learner - avatar
+ 3
https://code.sololearn.com/cFBK806oO2Dc/?ref=app
20th Jan 2018, 6:12 PM
...
+ 2
Cain Eviatar now check again
18th Jan 2018, 5:06 AM
code learner
code learner - avatar
+ 2
Great :)
18th Jan 2018, 8:39 AM
Cain Eviatar
Cain Eviatar - avatar