Advertisement
Fhernd

Matematica.cs

Nov 16th, 2017
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.62 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Matematica
  8. {
  9.     public static class Aritmetica
  10.     {
  11.         public static double Adicion(double a, double b)
  12.         {
  13.             return a + b;
  14.         }
  15.  
  16.         public static double Sustraccion(double a, double b)
  17.         {
  18.             return a - b;
  19.         }
  20.  
  21.         public static double Producto(double a, double b)
  22.         {
  23.             return a * b;
  24.         }
  25.  
  26.         public static double Cociente(double a, double b)
  27.         {
  28.             return a / b;
  29.         }
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement