How do I print out a user's input, letter for letter in C? -


the assignment has quite bit of stuff incorporated unfortunately, professor is... lacking in explanation.

i'm not quite sure on how syntax if read user's input, print out each letter input in vertical line.

in long-run, goal print out each character word in vertical line, print out binary values right of them.

ex:

input = hello  expected output =  h e l l o 

one of keys programming breaking problems down smaller, more manageable pieces. take 1 step @ time, adding 1 feature each go round.

  1. read user's input. don't else, read in.

  2. print user's input typed it.

    hello 
  3. now print input character character. print h, e, l, etc. you'll need write loop this.

    hello 

    (the end result same step #2, code longer. in preparation next step.)

  4. now print each character on separate line instead of on same line.

    h e l l o 
  5. finally, convert each letter uppercase print them.

    h e l l o 

if don't know how particular step, that's google comes in. example:


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -