Tuesday, October 13, 2015

Homework number 11

 This is question one, as it says in the last comment the differences between the two variables is given in the work space.
 This is question two, if you were to follow the commenting break up you will get the answer to each part of the question in the command window or in the  workspace window.
 question 3 with an immature example on how to encode. option to not encode are not given because why would you respond to an input prompt that asks to write a message to encode and not want to encode that message.
 this is question 4 where I forgot to input the values for neptune. Anyway since it requires user input a while loop was used to make writing the code shorter. It was previously set into an array but then set up as  a structure as per requested
 this is just the code that sets up the next answer
now here is the last question and it is the only thing displayed despite me displaying everything to use a new function and to prove that the previous code was working, not that it wouldnt work because the program could not proceed if it didnt work in the earlier stages.

No comments:

Post a Comment