Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms matlab
Title: lab_3 Download
  • Category:
  • matlab
  • Tags:
  • [WORD]
  • File Size:
  • 46kb
  • Update:
  • 2012-11-26
  • Downloads:
  • 0 Times
  • Uploaded by:
  • sunny3390
 Description: 1. Were prepared by the same name as the function of four max1, to achieve function overloading, the main () function to test the function of the function 2. Use a function template to achieve the maximum number of seeking any type, for different number of parameters, both with the same name written function template max1, the number of different parameters to achieve function overloading, the main () function to test function function 3. write a recursive function int fib (int n), n in the main program input values, call the fib function to calculate the Fibonacci series. The formula for fib (n-1)+ fib (n-2), n> 2 fib (1) = fib (2) = 1. Use if statement to check the function of the export statement in the program output using cout reminder
 Downloaders recently: [More information of uploader sunny3390]
 To Search:
File list (Check if you may need any files):
lab_3.doc
    

CodeBus www.codebus.net