ANSWERS: 2
  • DYOH - I had to when I was in school. Simply print each element of the array on the same line. You much CHECK each one before printing, and if it's a "$", instead print a space. THIS is not that difficult. If you're having problems with THIS logic, what will you do when you're having to create lists of all the words in a passage or book, counting them, and sorting them by the number of times they're used?
  • simple. shown below just use proper syntax for your programming language. int n = 0 While(Array[n]) { if(Array[n] = '$') output << ' ' else output << Array[n] n++ }

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy