added problem statement at the top

This commit is contained in:
K
2023-12-06 10:12:51 +05:30
parent 00460667ad
commit f1ea190897
2 changed files with 16 additions and 2 deletions
+8 -1
View File
@@ -1,3 +1,9 @@
/*
Problem Statement: a) Write C++ program to draw the following pattern. Use DDA line and Bresenhams 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 <iostream>
#include <graphics.h>
#include <math.h>
@@ -100,4 +106,5 @@ int main() {
delay(50000);
closegraph();
return 0;
}
}
// END OF CODE
+8 -1
View File
@@ -1,3 +1,9 @@
/*
Problem Statement: b) Write C++ program to draw the following pattern. Use DDA line and Bresenhams 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 <iostream>
#include <graphics.h>
#include <math.h>
@@ -108,4 +114,5 @@ int main() {
delay(50000);
closegraph();
return 0;
}
}
// END OF CODE