Jump to content

Rocky2013

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by Rocky2013

  1. a) Write a function, named getNumSum(), for accumulating(summing)float numbers:

    ->The function has no return value

    ->The function has 1 input argument named aSum: the current accumulative sum to be "updated" inside this function(Hint: use pass by reference)

    ->The function asks user for a float input, then updates the accumulative sum

    ->No code for input validation needed

  2. Sorry for the mistake and thank you for your reminding. Actually I have already finished the assignment .I am looking for answer checking.


    I am hardworking and want to get higher marks. Otherwise, I will not care what marks i will got. And I think the answers of the above question is short.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.