View Full Version : Write a function
Kewal14
Dec 26, 2011, 11:22 PM
Write a function that takes a double array name and an array size as arguments and that swaps the first and last value in that array.
Kewal14
Dec 26, 2011, 11:23 PM
Write a function that takes three arguments, the name of a float array, the array size, and a float value.
Kewal14
Dec 26, 2011, 11:25 PM
Write a function that takes an int argument and doubles it. The function does not return a value.
Kewal14
Dec 26, 2011, 11:26 PM
Write a function that takes two char arguments and returns 0 if both the arguments are equal.
Kewal14
Dec 26, 2011, 11:27 PM
Write a function to take an int argument and return 0 if the given number is prime otherwise return -1.
ScottGem
Dec 27, 2011, 04:26 AM
Thank you for asking our help with your homework assignment. However, there are some rules we have for doing so.
Do not simply retype or paste a question from your book or study material
We won't do your homework questions for you. You were given the assignment for you to learn.
If you come up with your own answer or process and post it for us to critique that is acceptable. If you have some SPECIFIC questions that you couldn't find or didn't understand, we may help with that.
But this is your assignment, so show us you have at least attempted to complete it on your own.
Thank you.