code2
code2
h>
#include <conio.h>
#include <math.h>
#define PI 3.14159265
int main() {
// Satellite parameters
int num_satellites = 8;
int sat_radius = 5;
float angles[num_satellites];
int orbit_radius[num_satellites];
angles[i] = 0;
// Draw Earth
setcolor(COLOR(0, 0, 255));
setfillstyle(SOLID_FILL, COLOR(0, 0, 255));
// Draw satellites
// Draw satellite
setcolor(RED);
setfillstyle(SOLID_FILL, RED);
closegraph();
return 0;