SHARE
TWEET

Untitled

a guest Oct 10th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Rextester.Program.Main is the entry point for your code. Don't change it.
  2. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5
  3.  
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text.RegularExpressions;
  8.  
  9. namespace Rextester
  10. {
  11.     public interface Geo
  12.     {
  13.        double arie(double x);
  14.        double perimetru(double x);
  15.     }
  16.     public class cerc : Geo
  17.     {double r;
  18.      double arie(double r)
  19.      {return r*r*System.Math.PI;
  20.          
  21.          
  22.      }
  23.      double perimetru(double r)
  24.      {
  25.          return 2*r*System.Math.PI;
  26.      }
  27.      public cerc(double x)
  28.      {
  29.      
  30.          r=x;
  31.      }
  32.      
  33.        
  34.        
  35.     }
  36.    
  37.     public class Patrat : Geo
  38.     {double l;
  39.      double arie(double l)
  40.      {
  41.      
  42.      
  43.      }
  44.     public class Program
  45.     {
  46.         public static void Main(string[] args)
  47.         {
  48.            
  49.         }
  50.        
  51.     }
  52. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top