+ 2
Rectangular class
Hello, how can I write a rectangular class with 4 points? What does dot mean? Should the data members be the coordinates of the sides of a rectangle?
4 Réponses
+ 1
#include <graphics.h>
#include <conio.h>
void main ()
{
rectangle (200,200,300,300);
getch ();
}
+ 1
Environment and area function and print input function and constructor function. And want move function
+ 1
Prajwal Patil I'm sorry, but this library is not taught. I do not know how to write with it.
0
You just need to use graphics headerfile and write method Rectangle and give its coordinates in bracket