diff options
Diffstat (limited to '2.3-1/SCI2CTmpResultsReports/lengthfinder/main_pass2.c')
-rw-r--r-- | 2.3-1/SCI2CTmpResultsReports/lengthfinder/main_pass2.c | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/2.3-1/SCI2CTmpResultsReports/lengthfinder/main_pass2.c b/2.3-1/SCI2CTmpResultsReports/lengthfinder/main_pass2.c new file mode 100644 index 00000000..a7eef151 --- /dev/null +++ b/2.3-1/SCI2CTmpResultsReports/lengthfinder/main_pass2.c @@ -0,0 +1,70 @@ +/* +** ------------------------------------- +** --- Global Variables Declaration. --- +** ------------------------------------- +*/ + + +/* +** ----------------------------------------- +** --- End Global Variables Declaration. --- +** ----------------------------------------- +*/ + +/* + SCI2C: ------------------------------------------------------------------ + SCI2C: function lengthfinder() + SCI2C: ------------------------------------------------------------------ +*/ +int main() +{ +/* +** ----------------------------- +** --- Variable Declaration. --- +** ----------------------------- +*/ + + double x[1 * 5]; + int __xSize[2] = {1, 5};; + + double y; + + double ans1; + + + + +/* +** --------------------------------- +** --- End Variable Declaration. --- +** --------------------------------- +*/ +/* +** --------------- +** --- C code. --- +** --------------- +*/ + + d0d0OpColond2(1,5,x); + + y = d2lengthd0(x, __xSize); + + d0disp(y); + + + + /* + ** --------------------- + ** --- Free Section. --- + ** --------------------- + */ + /* + ** ------------------------- + ** --- End Free Section. --- + ** ------------------------- + */ + + return(0); + +} + |