No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have the code below and I keep getting an error saying that swap isnt a function. Just wondering if anyone had any idea why. Thanks void swap(double *x, double *y ){ double temp; temp = *x; *x = *y; *y = temp; void sort(double h[], int size){ int i, … |
|
So i need to use scanf() to get input of positive ints from the user and then print the number out and then ask again and keep doing this till the user enters a negative number. with what i have it prompts the user to enter a number then prints … |
|
I am working on a homework project and i have it all done but the beginning and i can't figure out why i keep getting either errors or weird outputs. the following is the snippet that i am having trouble with. It keeps giving me an index error or when … |