Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Vector2D
- {
- class Program
- {
- static void Main(string[] args)
- {
- Vector2D myVector2D = new Vector2D();
- Console.Write("Enter x value");
- double x = Convert.ToDouble(Console.ReadLine());
- Console.Write("Enter y value");
- double y = Convert.ToDouble(Console.ReadLine());
- myVector2D.NegateX();
- }
- }
- }
- namespace Vector2D
- {
- internal class Vector2D
- {
- private double x;
- private double y; //lowercase
- public double xValue
- { get { return x; } set { x = value; } }
- public double yValue
- { get { return y; } set { y = value; } }//uppercase
- public Vector2D(double xValue, double yValue)
- { }
- public void NegateX()
- { }
- public void NegateY()
- { }
- public void AddVector(double x1, double y1)
- { }
- public void SubtractVector(double x2, double y2)
- { }
- public void ScalarMulitplication(double x2, double y2)
- { }
- public double GetMagnitude()
- { }
- public double GetAngleInDegrees()
- { }
- static void Main(string[] args)
- { }
- }
- }
Add Comment
Please, Sign In to add comment