Skip to content

UnPComp2013/Grupo1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Grupo1

// function template #include using namespace std;

template T sum (T a, T b) { T result; result = a + b; return result; }

int main () { int i=5, j=6, k; double f=2.0, g=0.5, h; k=sum (i,j); h=sum (f,g); cout << k << '\n'; cout << h << '\n'; return 0; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages