Untitled

mail@pastecode.io avatar
unknown
plain_text
25 days ago
564 B
1
Indexable
Never
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;

    }
}
Leave a Comment