Untitled

 avatar
unknown
plain_text
a year ago
564 B
3
Indexable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Interface
{
    internal class Veprimet : IVeprimet
    {
        public double X { get; set; }
        public double Y { get; set; }

        public Veprimet(double x, double y)
        {
            X = x;
            Y = y;
        }

        public double mbledhja => X + Y;
        public double zbritja => X - Y;
        public double shumezimi => X * Y;
        public double pjestimi => X / Y;

    }
}
Editor is loading...
Leave a Comment