added problem statement at the top

This commit is contained in:
K 2023-12-06 10:12:51 +05:30
parent 00460667ad
commit f1ea190897
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F
2 changed files with 16 additions and 2 deletions

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>
@ -101,3 +107,4 @@ int main() {
closegraph();
return 0;
}
// END OF CODE

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>
@ -109,3 +115,4 @@ int main() {
closegraph();
return 0;
}
// END OF CODE