Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace _028_mostenire
- {
- class Punct
- {
- protected int x, y;
- public Punct(int _x, int _y)
- {
- x = _x;
- y = _y;
- }
- public int X
- {
- get { return x; }
- }
- public int Y
- {
- get { return y; }
- }
- public override string ToString()
- {
- return "(" + X + ", " + Y + ")";
- }
- class Cerc : Punct
- {
- private double raza;
- public Cerc(int _x, int _y, double R)
- : base(_x, _y)
- {
- }
- }
- }
- }
- BAZAAAM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement