From f1ea1908976b4c7d0a2899ff3dc37a8724ec4aa8 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Wed, 6 Dec 2023 10:12:51 +0530 Subject: [PATCH] added problem statement at the top --- ...rn using DDA Line and Bresenham Circle Algorithm).cpp | 9 ++++++++- ...rn using DDA Line and Bresenham Circle Algorithm).cpp | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) mode change 100755 => 100644 Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp mode change 100755 => 100644 Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp diff --git a/Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp b/Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp old mode 100755 new mode 100644 index 28efd20..e463073 --- a/Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp +++ b/Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp @@ -1,3 +1,9 @@ +/* +Problem Statement: a) Write C++ program to draw the following pattern. Use DDA line and Bresenham‘s circle drawing algorithm. Apply the concept of encapsulation. +Code from Computer Graphics (SPPU - Second Year - Computer Engineering - Content) repository on KSKA Git: https://git.kska.io/sppu-se-comp-codes/CG +*/ + +// BEGINNING OF CODE #include #include #include @@ -100,4 +106,5 @@ int main() { delay(50000); closegraph(); return 0; -} \ No newline at end of file +} +// END OF CODE diff --git a/Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp b/Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp old mode 100755 new mode 100644 index e89fc44..c6b96bd --- a/Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp +++ b/Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp @@ -1,3 +1,9 @@ +/* +Problem Statement: b) Write C++ program to draw the following pattern. Use DDA line and Bresenham‘s circle drawing algorithm. Apply the concept of encapsulation. +Code from Computer Graphics (SPPU - Second Year - Computer Engineering - Content) repository on KSKA Git: https://git.kska.io/sppu-se-comp-codes/CG +*/ + +// BEGINNING OF CODE #include #include #include @@ -108,4 +114,5 @@ int main() { delay(50000); closegraph(); return 0; -} \ No newline at end of file +} +// END OF CODE