Program to print 3D Bar.

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>


void main()
{
  clrscr();
  int gm=DETECT,gd,i;
  int m[5];

     initgraph(&gm,&gd,"");
     cleardevice();
bar3d(50,70,70,300,10,10);

  getch();
  }

Leave a Reply