Computer Science, asked by akilwin77, 9 months ago

how to draw a circle in turbo c++ program using code​

Answers

Answered by saminadoll0306
2

Answer:

nononononnononon has

Answered by rsultana331
1

Answer:

Using these code you can draw a circle.

#include<iostream.h>

#include<conio.h>

using namespace std;

int main()

{

float y,k;

cout<< ” Enter the Radius of the desired circle size”;

cin>> y;

float m = 2;

for (int i = -y; i <= y; i++)

{

for (int j = -y; j <= y; j++)

{

k = ((i*m)/y)*((i*m)/y) + (j/y)*(j/y);

if (k >0.95 && k<1.08)

{

cout << “*”;

}

else...

Similar questions