0% found this document useful (0 votes)
27 views

Not Possible Since The Function Prints Results Instead of Returning Them (x1, Y1) Returning Value Storing It Into The Function

The function prints results instead of returning them so it is not possible to store the return value in variables like [x1,y1]. The function needs to return two values according to its header so it can be compared to the minimum convertlength. It is best to keep the driver program clean by having independent functions.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Not Possible Since The Function Prints Results Instead of Returning Them (x1, Y1) Returning Value Storing It Into The Function

The function prints results instead of returning them so it is not possible to store the return value in variables like [x1,y1]. The function needs to return two values according to its header so it can be compared to the minimum convertlength. It is best to keep the driver program clean by having independent functions.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Not possible since the function prints results Instead of returning them [x1,y1] = returning value storing it into

the function

It has to be 2 values !he function header, you need to provide to values "=min comparing the convertlength#f,n$ and 1

&eeping your driver program clean by having independent functions

You might also like