Square and cube

thmpla1

Using the Square and Cube functions as models, Create an application that includes a function named “Shrink” that would take an Integer and return the Integer divided by 2? (Hint: your returned value should probably be a double type.)  Support your experimentation with screen captures of executing the new code.

 

code needs to be run in compiler successful

  • 9 years ago
  • 5
Answer(1)

Purchase the answer to view it

  • answer_1.txt