To run the code you can tale the following example-
Enter first coordinates of the triangle: 50 150
Enter second coordinates of the triangle: 150 200
Enter third coordinates of the triangle: 250 300
Translation Vector: 100 100
The angle of rotation: 30
Shearing Factor: 2
Scaling Factor: 2 2
To run the code you can tale the following example-
Enter first coordinates of the triangle: 50 150 Enter second coordinates of the triangle: 150 200 Enter third coordinates of the triangle: 250 300 Translation Vector: 100 100 The angle of rotation: 30 Shearing Factor: 2 Scaling Factor: 2 2