Lecture 96
// Loop while
//Drawing a Graphics Character
#include <iostream>
#include <conio.h>
using namespace std;
main ()
{
int n;
char
ch[5]="\xD9";
n=1;
while(n<40){
cout<<"\t"<<ch;
n++;
}
getch();
return 0;
}
Code view in dev compiler:
Compile the program Ctrl+F9
Run program Ctrl+F10