about | help | code help+videos | done | prefs |
(EASY) Given an input of a single int, return the char value that the int becomes using ASCII encryption. Precondition: all inputs will represent visible ASCII values in the range 33-127. HINT: use the char data type, which (with typecasting) can be directly converted from int. That's because char is stored as a 16-bit number, and int is stored as a 32-bit number.apcsaEncryptIntToChar(65) → "A" apcsaEncryptIntToChar(66) → "B" apcsaEncryptIntToChar(97) → "a" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 210
Copyright Nick Parlante 2017 - privacy