// program for writing a leave letter//
#include<iostream.h >
#include<conio.h>
#include<iomanip.h>
void main()
{
char name[50];
char date[20];
char reason[100];
clrscr();
cout<<"ENTER YOUR NAME: ";
cin.getline(name,50);
cout<<"ENTER THE DATE: ";
cin.getline(date,20);
cout<<"ENTER THE REASON FOR LEAVE";
cin.getline(reason,100);
cout<<endl<<"LEAVE LETTER "<<endl;
cout<<"••••••••••••••••••••"<<endl;
cout<<"Date:"<<date<<endl;endl;
cout<<"Dear sir/madam, "<<endl<<endl;
cout<<"I,"<<name<<",am writing to inform you that I will not able to attend college on"<<date<<"due to "<<reason <<endl;
cout<<"I apologize for any inconvenience caused and will ensure to be regular to the classes."<<endl<<endl;
cout<<" Thank you very much for your kindness. "<<endl<<endl;
cout<<"sincerely, "<<endl;
cout<<name<<endl;
getch();
}