Advertisement
tonygms3

Nicholas Tony Gomes

Oct 19th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3.  
  4.  
  5. double add(double num1,double num2){
  6.     double num3;
  7.  
  8.     num3=num1+num2;
  9.  
  10.     return num3;
  11.  
  12.  
  13. }
  14. int main()
  15. {
  16.     printf("%lf",add(25,25));
  17.  
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement