Note : all questions are compulsory. Type and execute your code and attach the code as well as the screenshot of the ouput in the answer folder..i.e you need to create a folder inside the answer folder.

  1. Write a program to rotate an object by 90 degree in clockwise direction
  2. Write a program to draw a line using Bresenham’s line generation algorithm.
  3. Write a program to implement Boundary-fill algorithm.