added problem statement at the top
This commit is contained in:
parent
00460667ad
commit
f1ea190897
7
Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp
Executable file → Normal file
7
Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp
Executable file → Normal file
@ -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 <iostream>
|
||||
#include <graphics.h>
|
||||
#include <math.h>
|
||||
@ -101,3 +107,4 @@ int main() {
|
||||
closegraph();
|
||||
return 0;
|
||||
}
|
||||
// END OF CODE
|
||||
|
7
Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp
Executable file → Normal file
7
Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp
Executable file → Normal file
@ -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 <iostream>
|
||||
#include <graphics.h>
|
||||
#include <math.h>
|
||||
@ -109,3 +115,4 @@ int main() {
|
||||
closegraph();
|
||||
return 0;
|
||||
}
|
||||
// END OF CODE
|
||||
|
Loading…
Reference in New Issue
Block a user