Whats wrong with the following function call 3 dots means Im

What\'s wrong with the following function call:

(3 dots means I’m not showing all of the program steps)

#include <stdio.h>

double find_scale(double x, int n);

.

.

.

int main(void)

{

double num_1, num_3;

int num_2;

.

.

.

num_3 = Find_scale(num_1, num_2);

.

.

.

return(0);

}

double find_scale(double x, int n)

{

.

.

.

return(0);

}

Solution

Answer: Issue with method call name.

we are calling method by using this statement Find_scale(num_1, num_2); but it should be find_scale(num_1, num_2);

method names are casesensitive.

Below is correct code

#include <stdio.h>

double find_scale(double x, int n);

.

.

.

int main(void)

{

double num_1, num_3;

int num_2;

.

.

.

num_3 = find_scale(num_1, num_2);

.

.

.

return(0);

}

double find_scale(double x, int n)

{

.

.

.

return(0);

}

What\'s wrong with the following function call: (3 dots means I’m not showing all of the program steps) #include <stdio.h> double find_scale(double x, int
What\'s wrong with the following function call: (3 dots means I’m not showing all of the program steps) #include <stdio.h> double find_scale(double x, int

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site