Q4.Remove error from given code and complete that programs by defining its main () part.[10] write c++ program #include “msoftcon.h” class circle //graphics circle { int xCo, yCo; //coordinates of...



Q4.Remove error from given code and complete that programs by defining its main () part.[10]



write c++ program




#include “msoftcon.h”
class circle //graphics circle
{
int xCo, yCo; //coordinates of center
int radius;
color fillcolor; //color
fstyle fillstyle; //fill pattern
public:
void set(int x; inti y; int r; color fc; fstyle fs);
{
xCo = x;
yCo = y;
radius = r;
fillcolor = fc;
fillstyle = fs;
)
void draw()
{
set_color(fillcolor).
set_fill_style(fillstyle);
draw_circle(xCo, yCo, radius);
}
};



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here